#8E1240#8E1240
#8E1240 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.158 H 6.4°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1240 |
|---|---|
| RGB | rgb(142, 18, 64) |
| HSL | hsl(338, 78%, 31%) |
| HSV | hsv(338, 87%, 56%) |
| CMYK | cmyk(0%, 87.3%, 54.9%, 44.3%) |
| CIE-LAB | lab(30.77, 51.29, 6.86) |
| CIE-LCH | lch(30.77, 51.74, 7.62°) |
| OKLab | oklab(42.37% 0.1567 0.0177) |
| OKLCH | oklch(42.37% 0.158 6.4) |
| XYZ | xyz(12.2982, 6.5554, 5.4672) |
| Luminance | 0.0655 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 2.50
Berry
#990F4B
ΔE00 2.98
Red Wine
#8C0034
ΔE00 3.11
Wine (survey)
#80013F
ΔE00 4.24
Mulberry
#920A4E
ΔE00 4.25
Cranberry
#9E003A
ΔE00 4.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1240 #128E60
analogous
#8E127E #8E1240 #8E2212
triadic
#8E1240 #408E12 #12408E
tetradic
#8E1240 #7E8E12 #128E60 #22128E
square
#8E1240 #7E8E12 #128E60 #22128E
split-complementary
#8E1240 #128E22 #127E8E
monochromatic
#21040F #580B28 #8E1240 #C41958 #E53576
Accessibility & contrast
On white
9.09
#8E1240 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#8E1240 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1240
9.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1240 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1240 | 1.00 | 9.09 | 2.31 | 9.09 |
| #FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363941
Deuteranopia (green-blind)
#56513D
Tritanopia (blue-blind)
#9B0028
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8e1240; /* rgb */ color: rgb(142, 18, 64); /* oklch */ color: oklch(42.4% 0.158 6.4);
Tailwind
colors: {
custom: {
50: '#b56174',
500: '#8e1240',
950: '#000000',
},
}SCSS
$custom: #8e1240; $custom-light: #b56174; $custom-dark: #000000;
JSON
{
"hex": "#8e1240",
"rgb": {
"r": 142,
"g": 18,
"b": 64
},
"hsl": {
"h": 337.742,
"s": 77.5,
"l": 31.373
},
"oklch": {
"l": 0.42371,
"c": 0.1577,
"h": 6.4
},
"luminance": 0.06554
}Semantic roles & 50–950 ramp
primary
#8E1240
secondary
#3AC290
accent
#F4AD34
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B