#8E1843#8E1843
#8E1843 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.8% C 0.154 H 5.6°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1843 |
|---|---|
| RGB | rgb(142, 24, 67) |
| HSL | hsl(338, 71%, 33%) |
| HSV | hsv(338, 83%, 56%) |
| CMYK | cmyk(0%, 83.1%, 52.8%, 44.3%) |
| CIE-LAB | lab(31.37, 50.05, 5.71) |
| CIE-LCH | lch(31.37, 50.38, 6.51°) |
| OKLab | oklab(42.84% 0.1531 0.0149) |
| OKLCH | oklch(42.84% 0.154 5.6) |
| XYZ | xyz(12.4962, 6.8111, 5.9658) |
| Luminance | 0.0681 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 2.38
Berry
#990F4B
ΔE00 2.58
Mulberry
#920A4E
ΔE00 3.81
Red Wine
#8C0034
ΔE00 3.87
Wine (survey)
#80013F
ΔE00 4.29
Reddish Purple
#910951
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1843 #188E63
analogous
#8E187E #8E1843 #8E2818
triadic
#8E1843 #438E18 #18438E
tetradic
#8E1843 #7E8E18 #188E63 #28188E
square
#8E1843 #7E8E18 #188E63 #28188E
split-complementary
#8E1843 #188E28 #187E8E
monochromatic
#250612 #5A0F2A #8E1843 #C2215C #DF417B
Accessibility & contrast
On white
8.89
#8E1843 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#8E1843 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1843
8.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1843 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1843 | 1.00 | 8.89 | 2.36 | 8.89 |
| #FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383B44
Deuteranopia (green-blind)
#575240
Tritanopia (blue-blind)
#9B002B
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8e1843; /* rgb */ color: rgb(142, 24, 67); /* oklch */ color: oklch(42.8% 0.154 5.6);
Tailwind
colors: {
custom: {
50: '#b56376',
500: '#8e1843',
950: '#000000',
},
}SCSS
$custom: #8e1843; $custom-light: #b56376; $custom-dark: #000000;
JSON
{
"hex": "#8e1843",
"rgb": {
"r": 142,
"g": 24,
"b": 67
},
"hsl": {
"h": 338.136,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.42838,
"c": 0.15379,
"h": 5.6
},
"luminance": 0.06809
}Semantic roles & 50–950 ramp
primary
#8E1843
secondary
#42C092
accent
#EEAC3A
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B