#5a0040 Color Information

In a RGB color space, hex #5a0040 is composed of 35.3% red, 0% green and 25.1% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 100% magenta, 28.9% yellow and 64.7% black. It has a hue angle of 317.3 degrees, a saturation of 100% and a lightness of 17.6%. #5a0040 color hex could be obtained by blending #b40080 with #000000. Closest websafe color is: #660033.

    • R 35
    • G 0
    • B 25
    RGB color chart
    • C 0
    • M 100
    • Y 29
    • K 65
    CMYK color chart

#5a0040 color description : Very dark pink.

#5a0040 Color Conversion

The hexadecimal color #5a0040 has RGB values of R:90, G:0, B:64 and CMYK values of C:0, M:1, Y:0.29, K:0.65. Its decimal value is 5898304.

Hex triplet 5a0040 #5a0040
RGB Decimal 90, 0, 64 rgb(90,0,64)
RGB Percent 35.3, 0, 25.1 rgb(35.3%,0%,25.1%)
CMYK 0, 100, 29, 65
HSL 317.3°, 100, 17.6 hsl(317.3,100%,17.6%)
HSV (or HSB) 317.3°, 100, 35.3
Web Safe 660033 #660033
CIE-LAB 18.118, 42.043, -13.131
XYZ 5.142, 2.544, 5.071
xyY 0.403, 0.199, 2.544
CIE-LCH 18.118, 44.046, 342.655
CIE-LUV 18.118, 36.186, -18.142
Hunter-Lab 15.951, 29.627, -7.682
Binary 01011010, 00000000, 01000000

Color Schemes with #5a0040

Complementary Color
Analogous Color
Split Complementary Color
Triadic Color
Tetradic Color
Monochromatic Color

Alternatives to #5a0040

Below, you can see some colors close to #5a0040. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.

Similar Colors

#5a0040 Preview

Text with hexadecimal color #5a0040

This text has a font color of #5a0040.

<span style="color:#5a0040;">Text here</span>
#5a0040 background color

This paragraph has a background color of #5a0040.

<p style="background-color:#5a0040;">Content here</p>
#5a0040 border color

This element has a border color of #5a0040.

<div style="border:1px solid #5a0040;">Content here</div>
CSS codes
.text {color:#5a0040;}
.background {background-color:#5a0040;}
.border {border:1px solid #5a0040;}

Shades and Tints of #5a0040

A shade is achieved by adding black to any pure hue, while a tint is created by mixing white to any pure color. In this example, #0c0008 is the darkest color, while #fff7fd is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a0040

A tone is produced by adding gray to any pure hue. In this case, #302a2e is the less saturated color, while #5a0040 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a0040 is perceived by people affected by a color vision deficiency. This can be useful if you need to ensure your color combinations are accessible to color-blind users.

Monochromacy
  • #222222 Achromatopsia 0.005% of the population
  • #2d1b28 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #1c3562 Protanopia 1% of men
  • #363642 Deuteranopia 1% of men
  • #5f1f21 Tritanopia 0.001% of the population
Trichromacy
  • #322255 Protanomaly 1% of men, 0.01% of women
  • #432241 Deuteranomaly 6% of men, 0.4% of women
  • #5d142c Tritanomaly 0.01% of the population