#5a1242 Color Information

In a RGB color space, hex #5a1242 is composed of 35.3% red, 7.1% green and 25.9% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 80% magenta, 26.7% yellow and 64.7% black. It has a hue angle of 320 degrees, a saturation of 66.7% and a lightness of 21.2%. #5a1242 color hex could be obtained by blending #b42484 with #000000. Closest websafe color is: #660033.

    • R 35
    • G 7
    • B 26
    RGB color chart
    • C 0
    • M 80
    • Y 27
    • K 65
    CMYK color chart

#5a1242 color description : Very dark pink.

#5a1242 Color Conversion

The hexadecimal color #5a1242 has RGB values of R:90, G:18, B:66 and CMYK values of C:0, M:0.8, Y:0.27, K:0.65. Its decimal value is 5902914.

Hex triplet 5a1242 #5a1242
RGB Decimal 90, 18, 66 rgb(90,18,66)
RGB Percent 35.3, 7.1, 25.9 rgb(35.3%,7.1%,25.9%)
CMYK 0, 80, 27, 65
HSL 320°, 66.7, 21.2 hsl(320,66.7%,21.2%)
HSV (or HSB) 320°, 80, 35.3
Web Safe 660033 #660033
CIE-LAB 20.044, 37.044, -11.552
XYZ 5.416, 3, 5.448
xyY 0.391, 0.216, 3
CIE-LCH 20.044, 38.803, 342.68
CIE-LUV 20.044, 33.007, -16.65
Hunter-Lab 17.321, 25.505, -6.524
Binary 01011010, 00010010, 01000010

Color Schemes with #5a1242

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

Alternatives to #5a1242

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

Similar Colors

#5a1242 Preview

Text with hexadecimal color #5a1242

This text has a font color of #5a1242.

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

This paragraph has a background color of #5a1242.

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

This element has a border color of #5a1242.

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

Shades and Tints of #5a1242

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, #080206 is the darkest color, while #fdf7fb is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a1242

A tone is produced by adding gray to any pure hue. In this case, #393337 is the less saturated color, while #6b0148 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a1242 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.

  • #2d2d2d Achromatopsia 0.005% of the population
  • #362831 Atypical Achromatopsia 0.001% of the population
  • #2b3a5d Protanopia 1% of men
  • #3b3945 Deuteranopia 1% of men
  • #5f282b Tritanopia 0.001% of the population
  • #3c2b53 Protanomaly 1% of men, 0.01% of women
  • #462b44 Deuteranomaly 6% of men, 0.4% of women
  • #5d2033 Tritanomaly 0.01% of the population