#5A1029#5A1029
#5A1029 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.4% C 0.107 H 5.9°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).
Color values
| HEX | #5A1029 |
|---|---|
| RGB | rgb(90, 16, 41) |
| HSL | hsl(340, 70%, 21%) |
| HSV | hsv(340, 82%, 35%) |
| CMYK | cmyk(0%, 82.2%, 54.4%, 64.7%) |
| CIE-LAB | lab(18.82, 34.75, 4.22) |
| CIE-LCH | lch(18.82, 35.01, 6.93°) |
| OKLab | oklab(31.4% 0.1062 0.011) |
| OKLCH | oklch(31.4% 0.107 5.9) |
| XYZ | xyz(4.8024, 2.7050, 2.3666) |
| Luminance | 0.0270 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 3.15
Maroon (survey)
#650021
ΔE00 4.54
Merlot
#730039
ΔE00 5.97
Bordeaux
#7B002C
ΔE00 7.22
Wine (survey)
#80013F
ΔE00 8.07
Claret
#680018
ΔE00 8.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A1029 #105A41
analogous
#5A104E #5A1029 #5A1C10
triadic
#5A1029 #295A10 #10295A
tetradic
#5A1029 #4E5A10 #105A41 #1C105A
square
#5A1029 #4E5A10 #105A41 #1C105A
split-complementary
#5A1029 #105A1C #104E5A
monochromatic
#1A050C #260711 #5A1029 #8E1941 #C22258
Accessibility & contrast
On white
13.63
#5A1029 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#5A1029 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A1029
13.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A1029 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A1029 | 1.00 | 13.63 | 1.54 | 13.63 |
| #FFFFFF | 13.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23242A
Deuteranopia (green-blind)
#363327
Tritanopia (blue-blind)
#63001B
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #5a1029; /* rgb */ color: rgb(90, 16, 41); /* oklch */ color: oklch(31.4% 0.107 5.9);
Tailwind
colors: {
custom: {
50: '#8d5662',
500: '#5a1029',
950: '#000000',
},
}SCSS
$custom: #5a1029; $custom-light: #8d5662; $custom-dark: #000000;
JSON
{
"hex": "#5a1029",
"rgb": {
"r": 90,
"g": 16,
"b": 41
},
"hsl": {
"h": 339.73,
"s": 69.811,
"l": 20.784
},
"oklch": {
"l": 0.31402,
"c": 0.10673,
"h": 5.9
},
"luminance": 0.02704
}Semantic roles & 50–950 ramp
primary
#5A1029
secondary
#339373
accent
#EDB13B
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0305
muted
#7E7879