#8E1942#8E1942
#8E1942 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.9% C 0.153 H 6.3°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1942 |
|---|---|
| RGB | rgb(142, 25, 66) |
| HSL | hsl(339, 70%, 33%) |
| HSV | hsv(339, 82%, 56%) |
| CMYK | cmyk(0%, 82.4%, 53.5%, 44.3%) |
| CIE-LAB | lab(31.44, 49.69, 6.48) |
| CIE-LCH | lch(31.44, 50.11, 7.43°) |
| OKLab | oklab(42.88% 0.1518 0.0168) |
| OKLCH | oklch(42.88% 0.153 6.3) |
| XYZ | xyz(12.4875, 6.8412, 5.8161) |
| Luminance | 0.0684 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 2.61
Berry
#990F4B
ΔE00 2.86
Red Wine
#8C0034
ΔE00 3.58
Mulberry
#920A4E
ΔE00 4.23
Cranberry
#9E003A
ΔE00 4.50
Wine (survey)
#80013F
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1942 #198E65
analogous
#8E197D #8E1942 #8E2A19
triadic
#8E1942 #428E19 #19428E
tetradic
#8E1942 #7D8E19 #198E65 #2A198E
square
#8E1942 #7D8E19 #198E65 #2A198E
split-complementary
#8E1942 #198E2A #197D8E
monochromatic
#260712 #5A102A #8E1942 #C2225A #DE437A
Accessibility & contrast
On white
8.87
#8E1942 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#8E1942 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1942
8.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1942 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1942 | 1.00 | 8.87 | 2.37 | 8.87 |
| #FFFFFF | 8.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393B43
Deuteranopia (green-blind)
#57523F
Tritanopia (blue-blind)
#9B002B
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8e1942; /* rgb */ color: rgb(142, 25, 66); /* oklch */ color: oklch(42.9% 0.153 6.3);
Tailwind
colors: {
custom: {
50: '#b56476',
500: '#8e1942',
950: '#000000',
},
}SCSS
$custom: #8e1942; $custom-light: #b56476; $custom-dark: #000000;
JSON
{
"hex": "#8e1942",
"rgb": {
"r": 142,
"g": 25,
"b": 66
},
"hsl": {
"h": 338.974,
"s": 70.06,
"l": 32.745
},
"oklch": {
"l": 0.42881,
"c": 0.15271,
"h": 6.3
},
"luminance": 0.06839
}Semantic roles & 50–950 ramp
primary
#8E1942
secondary
#44BF94
accent
#EDAF3B
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B