#5A142B#5A142B
#5A142B is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.9% C 0.103 H 5.4°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).
Color values
| HEX | #5A142B |
|---|---|
| RGB | rgb(90, 20, 43) |
| HSL | hsl(340, 64%, 22%) |
| HSV | hsv(340, 78%, 35%) |
| CMYK | cmyk(0%, 77.8%, 52.2%, 64.7%) |
| CIE-LAB | lab(19.43, 33.42, 3.66) |
| CIE-LCH | lch(19.43, 33.62, 6.26°) |
| OKLab | oklab(31.87% 0.1021 0.0097) |
| OKLCH | oklch(31.87% 0.103 5.4) |
| XYZ | xyz(4.9031, 2.8490, 2.5768) |
| Luminance | 0.0285 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 3.76
Maroon (survey)
#650021
ΔE00 5.05
Merlot
#730039
ΔE00 6.05
Bordeaux
#7B002C
ΔE00 7.47
Wine (survey)
#80013F
ΔE00 8.09
Wine
#722F37
ΔE00 8.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A142B #145A43
analogous
#5A144E #5A142B #5A2014
triadic
#5A142B #2B5A14 #142B5A
tetradic
#5A142B #4E5A14 #145A43 #20145A
square
#5A142B #4E5A14 #145A43 #20145A
split-complementary
#5A142B #145A20 #144E5A
monochromatic
#19060C #280913 #5A142B #8C1F43 #BE2A5B
Accessibility & contrast
On white
13.38
#5A142B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#5A142B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A142B
13.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A142B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A142B | 1.00 | 13.38 | 1.57 | 13.38 |
| #FFFFFF | 13.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#24262C
Deuteranopia (green-blind)
#373429
Tritanopia (blue-blind)
#63071E
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #5a142b; /* rgb */ color: rgb(90, 20, 43); /* oklch */ color: oklch(31.9% 0.103 5.4);
Tailwind
colors: {
custom: {
50: '#8d5864',
500: '#5a142b',
950: '#000000',
},
}SCSS
$custom: #5a142b; $custom-light: #8d5864; $custom-dark: #000000;
JSON
{
"hex": "#5a142b",
"rgb": {
"r": 90,
"g": 20,
"b": 43
},
"hsl": {
"h": 340.286,
"s": 63.636,
"l": 21.569
},
"oklch": {
"l": 0.3187,
"c": 0.10253,
"h": 5.4
},
"luminance": 0.02848
}Semantic roles & 50–950 ramp
primary
#5A142B
secondary
#389274
accent
#E7B041
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0405
muted
#7E7979