#5a1228 Color Information

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

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

#5a1228 color description : Very dark pink.

#5a1228 Color Conversion

The hexadecimal color #5a1228 has RGB values of R:90, G:18, B:40 and CMYK values of C:0, M:0.8, Y:0.56, K:0.65. Its decimal value is 5902888.

Hex triplet 5a1228 #5a1228
RGB Decimal 90, 18, 40 rgb(90,18,40)
RGB Percent 35.3, 7.1, 15.7 rgb(35.3%,7.1%,15.7%)
CMYK 0, 80, 56, 65
HSL 341.7°, 66.7, 21.2 hsl(341.7,66.7%,21.2%)
HSV (or HSB) 341.7°, 80, 35.3
Web Safe 660033 #660033
CIE-LAB 19.056, 33.916, 5.263
XYZ 4.816, 2.76, 2.287
xyY 0.488, 0.28, 2.76
CIE-LCH 19.056, 34.322, 8.82
CIE-LUV 19.056, 40.902, -0.08
Hunter-Lab 16.613, 22.671, 3.469
Binary 01011010, 00010010, 00101000

Color Schemes with #5a1228

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

Alternatives to #5a1228

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

Similar Colors

#5a1228 Preview

Text with hexadecimal color #5a1228

This text has a font color of #5a1228.

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

This paragraph has a background color of #5a1228.

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

This element has a border color of #5a1228.

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

Shades and Tints of #5a1228

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

Shade Color Variation
Tint Color Variation

Tones of #5a1228

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a1228 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
  • #2a2a2a Achromatopsia 0.005% of the population
  • #34252a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #38383f Protanopia 1% of men
  • #42372e Deuteranopia 1% of men
  • #612123 Tritanopia 0.001% of the population
Trichromacy
  • #442a36 Protanomaly 1% of men, 0.01% of women
  • #4a292c Deuteranomaly 6% of men, 0.4% of women
  • #5e1c25 Tritanomaly 0.01% of the population