#8E1442#8E1442
#8E1442 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.5% C 0.157 H 5.6°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1442 |
|---|---|
| RGB | rgb(142, 20, 66) |
| HSL | hsl(337, 75%, 32%) |
| HSV | hsv(337, 86%, 56%) |
| CMYK | cmyk(0%, 85.9%, 53.5%, 44.3%) |
| CIE-LAB | lab(30.99, 50.99, 5.83) |
| CIE-LCH | lch(30.99, 51.32, 6.52°) |
| OKLab | oklab(42.55% 0.156 0.0152) |
| OKLCH | oklch(42.55% 0.157 5.6) |
| XYZ | xyz(12.3900, 6.6462, 5.7836) |
| Luminance | 0.0664 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 2.27
Berry
#990F4B
ΔE00 2.61
Red Wine
#8C0034
ΔE00 3.66
Mulberry
#920A4E
ΔE00 3.76
Wine (survey)
#80013F
ΔE00 4.05
Reddish Purple
#910951
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1442 #148E60
analogous
#8E147F #8E1442 #8E2314
triadic
#8E1442 #428E14 #14428E
tetradic
#8E1442 #7F8E14 #148E60 #23148E
square
#8E1442 #7F8E14 #148E60 #23148E
split-complementary
#8E1442 #148E23 #147F8E
monochromatic
#230510 #580C29 #8E1442 #C41C5B #E33979
Accessibility & contrast
On white
9.02
#8E1442 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#8E1442 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1442
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1442 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1442 | 1.00 | 9.02 | 2.33 | 9.02 |
| #FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363A43
Deuteranopia (green-blind)
#56513F
Tritanopia (blue-blind)
#9B002A
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8e1442; /* rgb */ color: rgb(142, 20, 66); /* oklch */ color: oklch(42.5% 0.157 5.6);
Tailwind
colors: {
custom: {
50: '#b56276',
500: '#8e1442',
950: '#000000',
},
}SCSS
$custom: #8e1442; $custom-light: #b56276; $custom-dark: #000000;
JSON
{
"hex": "#8e1442",
"rgb": {
"r": 142,
"g": 20,
"b": 66
},
"hsl": {
"h": 337.377,
"s": 75.309,
"l": 31.765
},
"oklch": {
"l": 0.42547,
"c": 0.15672,
"h": 5.6
},
"luminance": 0.06644
}Semantic roles & 50–950 ramp
primary
#8E1442
secondary
#3CC28F
accent
#F2AB36
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B