#8E1740#8E1740
#8E1740 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.7% C 0.154 H 7.1°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1740 |
|---|---|
| RGB | rgb(142, 23, 64) |
| HSL | hsl(339, 72%, 32%) |
| HSV | hsv(339, 84%, 56%) |
| CMYK | cmyk(0%, 83.8%, 54.9%, 44.3%) |
| CIE-LAB | lab(31.20, 50.07, 7.45) |
| CIE-LCH | lch(31.20, 50.63, 8.47°) |
| OKLab | oklab(42.68% 0.1528 0.0192) |
| OKLCH | oklch(42.68% 0.154 7.1) |
| XYZ | xyz(12.3883, 6.7355, 5.4973) |
| Luminance | 0.0673 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 2.83
Red Wine
#8C0034
ΔE00 3.05
Berry
#990F4B
ΔE00 3.22
Cranberry
#9E003A
ΔE00 4.11
Mulberry
#920A4E
ΔE00 4.67
Wine (survey)
#80013F
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1740 #178E65
analogous
#8E177B #8E1740 #8E2A17
triadic
#8E1740 #408E17 #17408E
tetradic
#8E1740 #7B8E17 #178E65 #2A178E
square
#8E1740 #7B8E17 #178E65 #2A178E
split-complementary
#8E1740 #178E2A #177B8E
monochromatic
#250611 #590E28 #8E1740 #C32058 #E03F77
Accessibility & contrast
On white
8.95
#8E1740 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#8E1740 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1740
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1740 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1740 | 1.00 | 8.95 | 2.35 | 8.95 |
| #FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383A41
Deuteranopia (green-blind)
#57523D
Tritanopia (blue-blind)
#9B002A
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8e1740; /* rgb */ color: rgb(142, 23, 64); /* oklch */ color: oklch(42.7% 0.154 7.1);
Tailwind
colors: {
custom: {
50: '#b56374',
500: '#8e1740',
950: '#000000',
},
}SCSS
$custom: #8e1740; $custom-light: #b56374; $custom-dark: #000000;
JSON
{
"hex": "#8e1740",
"rgb": {
"r": 142,
"g": 23,
"b": 64
},
"hsl": {
"h": 339.328,
"s": 72.121,
"l": 32.353
},
"oklch": {
"l": 0.42683,
"c": 0.15396,
"h": 7.1
},
"luminance": 0.06734
}Semantic roles & 50–950 ramp
primary
#8E1740
secondary
#40C094
accent
#EFB039
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B