#8E1841#8E1841
#8E1841 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.8% C 0.153 H 6.7°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1841 |
|---|---|
| RGB | rgb(142, 24, 65) |
| HSL | hsl(339, 71%, 33%) |
| HSV | hsv(339, 83%, 56%) |
| CMYK | cmyk(0%, 83.1%, 54.2%, 44.3%) |
| CIE-LAB | lab(31.32, 49.89, 6.96) |
| CIE-LCH | lch(31.32, 50.37, 7.95°) |
| OKLab | oklab(42.78% 0.1523 0.018) |
| OKLCH | oklch(42.78% 0.153 6.7) |
| XYZ | xyz(12.4373, 6.7875, 5.6552) |
| Luminance | 0.0679 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 2.71
Berry
#990F4B
ΔE00 3.03
Red Wine
#8C0034
ΔE00 3.32
Cranberry
#9E003A
ΔE00 4.30
Mulberry
#920A4E
ΔE00 4.45
Wine (survey)
#80013F
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1841 #188E65
analogous
#8E187C #8E1841 #8E2A18
triadic
#8E1841 #418E18 #18418E
tetradic
#8E1841 #7C8E18 #188E65 #2A188E
square
#8E1841 #7C8E18 #188E65 #2A188E
split-complementary
#8E1841 #188E2A #187C8E
monochromatic
#250611 #5A0F29 #8E1841 #C22159 #DF4178
Accessibility & contrast
On white
8.91
#8E1841 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#8E1841 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1841
8.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1841 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1841 | 1.00 | 8.91 | 2.36 | 8.91 |
| #FFFFFF | 8.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383B42
Deuteranopia (green-blind)
#57523E
Tritanopia (blue-blind)
#9B002B
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8e1841; /* rgb */ color: rgb(142, 24, 65); /* oklch */ color: oklch(42.8% 0.153 6.7);
Tailwind
colors: {
custom: {
50: '#b56375',
500: '#8e1841',
950: '#000000',
},
}SCSS
$custom: #8e1841; $custom-light: #b56375; $custom-dark: #000000;
JSON
{
"hex": "#8e1841",
"rgb": {
"r": 142,
"g": 24,
"b": 65
},
"hsl": {
"h": 339.153,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.4278,
"c": 0.15334,
"h": 6.7
},
"luminance": 0.06786
}Semantic roles & 50–950 ramp
primary
#8E1841
secondary
#42C094
accent
#EEAF3A
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B