#8E1742#8E1742
#8E1742 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.7% C 0.154 H 6.0°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1742 |
|---|---|
| RGB | rgb(142, 23, 66) |
| HSL | hsl(338, 72%, 32%) |
| HSV | hsv(338, 84%, 56%) |
| CMYK | cmyk(0%, 83.8%, 53.5%, 44.3%) |
| CIE-LAB | lab(31.25, 50.24, 6.20) |
| CIE-LCH | lch(31.25, 50.62, 7.04°) |
| OKLab | oklab(42.74% 0.1535 0.0161) |
| OKLCH | oklch(42.74% 0.154 6) |
| XYZ | xyz(12.4463, 6.7587, 5.8024) |
| Luminance | 0.0676 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 2.45
Berry
#990F4B
ΔE00 2.74
Red Wine
#8C0034
ΔE00 3.60
Mulberry
#920A4E
ΔE00 4.03
Wine (survey)
#80013F
ΔE00 4.35
Cranberry
#9E003A
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1742 #178E63
analogous
#8E177E #8E1742 #8E2717
triadic
#8E1742 #428E17 #17428E
tetradic
#8E1742 #7E8E17 #178E63 #27178E
square
#8E1742 #7E8E17 #178E63 #27178E
split-complementary
#8E1742 #178E27 #177E8E
monochromatic
#250611 #590E2A #8E1742 #C3205A #E03F79
Accessibility & contrast
On white
8.93
#8E1742 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#8E1742 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1742
8.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1742 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1742 | 1.00 | 8.93 | 2.35 | 8.93 |
| #FFFFFF | 8.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.93 | 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: #8e1742; /* rgb */ color: rgb(142, 23, 66); /* oklch */ color: oklch(42.7% 0.154 6.0);
Tailwind
colors: {
custom: {
50: '#b56376',
500: '#8e1742',
950: '#000000',
},
}SCSS
$custom: #8e1742; $custom-light: #b56376; $custom-dark: #000000;
JSON
{
"hex": "#8e1742",
"rgb": {
"r": 142,
"g": 23,
"b": 66
},
"hsl": {
"h": 338.319,
"s": 72.121,
"l": 32.353
},
"oklch": {
"l": 0.4274,
"c": 0.15438,
"h": 6
},
"luminance": 0.06757
}Semantic roles & 50–950 ramp
primary
#8E1742
secondary
#40C092
accent
#EFAD39
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B