#5A142E#5A142E
#5A142E is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.0% C 0.103 H 2.6°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).
Color values
| HEX | #5A142E |
|---|---|
| RGB | rgb(90, 20, 46) |
| HSL | hsl(338, 64%, 22%) |
| HSV | hsv(338, 78%, 35%) |
| CMYK | cmyk(0%, 77.8%, 48.9%, 64.7%) |
| CIE-LAB | lab(19.52, 33.73, 1.68) |
| CIE-LCH | lch(19.52, 33.77, 2.84°) |
| OKLab | oklab(31.97% 0.1033 0.0047) |
| OKLCH | oklch(31.97% 0.103 2.6) |
| XYZ | xyz(4.9601, 2.8719, 2.8774) |
| Luminance | 0.0287 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.61
Merlot
#730039
ΔE00 5.60
Maroon (survey)
#650021
ΔE00 6.01
Plum (survey)
#580F41
ΔE00 7.68
Wine (survey)
#80013F
ΔE00 7.78
Bordeaux
#7B002C
ΔE00 8.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A142E #145A40
analogous
#5A1451 #5A142E #5A1D14
triadic
#5A142E #2E5A14 #142E5A
tetradic
#5A142E #515A14 #145A40 #1D145A
square
#5A142E #515A14 #145A40 #1D145A
split-complementary
#5A142E #145A1D #14515A
monochromatic
#19060D #280914 #5A142E #8C1F48 #BE2A61
Accessibility & contrast
On white
13.34
#5A142E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#5A142E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A142E
13.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A142E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A142E | 1.00 | 13.34 | 1.57 | 13.34 |
| #FFFFFF | 13.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#24272F
Deuteranopia (green-blind)
#36342C
Tritanopia (blue-blind)
#62081F
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #5a142e; /* rgb */ color: rgb(90, 20, 46); /* oklch */ color: oklch(32.0% 0.103 2.6);
Tailwind
colors: {
custom: {
50: '#8d5866',
500: '#5a142e',
950: '#000000',
},
}SCSS
$custom: #5a142e; $custom-light: #8d5866; $custom-dark: #000000;
JSON
{
"hex": "#5a142e",
"rgb": {
"r": 90,
"g": 20,
"b": 46
},
"hsl": {
"h": 337.714,
"s": 63.636,
"l": 21.569
},
"oklch": {
"l": 0.31971,
"c": 0.10341,
"h": 2.6
},
"luminance": 0.02871
}Semantic roles & 50–950 ramp
primary
#5A142E
secondary
#389270
accent
#E7A941
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0405
muted
#7E797A