#8E1842#8E1842
#8E1842 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.8% C 0.154 H 6.2°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1842 |
|---|---|
| RGB | rgb(142, 24, 66) |
| HSL | hsl(339, 71%, 33%) |
| HSV | hsv(339, 83%, 56%) |
| CMYK | cmyk(0%, 83.1%, 53.5%, 44.3%) |
| CIE-LAB | lab(31.35, 49.97, 6.34) |
| CIE-LCH | lch(31.35, 50.37, 7.23°) |
| OKLab | oklab(42.81% 0.1527 0.0165) |
| OKLCH | oklch(42.81% 0.154 6.2) |
| XYZ | xyz(12.4665, 6.7992, 5.8091) |
| Luminance | 0.0680 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 2.53
Berry
#990F4B
ΔE00 2.79
Red Wine
#8C0034
ΔE00 3.59
Mulberry
#920A4E
ΔE00 4.13
Wine (survey)
#80013F
ΔE00 4.46
Cranberry
#9E003A
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1842 #188E64
analogous
#8E187D #8E1842 #8E2918
triadic
#8E1842 #428E18 #18428E
tetradic
#8E1842 #7D8E18 #188E64 #29188E
square
#8E1842 #7D8E18 #188E64 #29188E
split-complementary
#8E1842 #188E29 #187D8E
monochromatic
#250611 #5A0F2A #8E1842 #C2215A #DF417A
Accessibility & contrast
On white
8.90
#8E1842 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#8E1842 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1842
8.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1842 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1842 | 1.00 | 8.90 | 2.36 | 8.90 |
| #FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383B43
Deuteranopia (green-blind)
#57523F
Tritanopia (blue-blind)
#9B002B
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8e1842; /* rgb */ color: rgb(142, 24, 66); /* oklch */ color: oklch(42.8% 0.154 6.2);
Tailwind
colors: {
custom: {
50: '#b56376',
500: '#8e1842',
950: '#000000',
},
}SCSS
$custom: #8e1842; $custom-light: #b56376; $custom-dark: #000000;
JSON
{
"hex": "#8e1842",
"rgb": {
"r": 142,
"g": 24,
"b": 66
},
"hsl": {
"h": 338.644,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.42809,
"c": 0.15355,
"h": 6.2
},
"luminance": 0.06797
}Semantic roles & 50–950 ramp
primary
#8E1842
secondary
#42C093
accent
#EEAE3A
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B