#8E1239#8E1239
#8E1239 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.2% C 0.156 H 10.4°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1239 |
|---|---|
| RGB | rgb(142, 18, 57) |
| HSL | hsl(341, 78%, 31%) |
| HSV | hsv(341, 87%, 56%) |
| CMYK | cmyk(0%, 87.3%, 59.9%, 44.3%) |
| CIE-LAB | lab(30.59, 50.77, 11.27) |
| CIE-LCH | lch(30.59, 52.01, 12.52°) |
| OKLab | oklab(42.18% 0.1539 0.0281) |
| OKLCH | oklch(42.18% 0.156 10.4) |
| XYZ | xyz(12.1114, 6.4806, 4.4833) |
| Luminance | 0.0648 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 1.47
Cranberry
#9E003A
ΔE00 3.05
Purple Red
#990147
ΔE00 4.32
Bordeaux
#7B002C
ΔE00 4.36
Berry
#990F4B
ΔE00 4.94
Wine Red
#7B0323
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1239 #128E67
analogous
#8E1277 #8E1239 #8E2912
triadic
#8E1239 #398E12 #12398E
tetradic
#8E1239 #778E12 #128E67 #29128E
square
#8E1239 #778E12 #128E67 #29128E
split-complementary
#8E1239 #128E29 #12778E
monochromatic
#21040D #580B23 #8E1239 #C4194F #E5356C
Accessibility & contrast
On white
9.15
#8E1239 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#8E1239 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1239
9.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1239 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1239 | 1.00 | 9.15 | 2.30 | 9.15 |
| #FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#38383A
Deuteranopia (green-blind)
#575136
Tritanopia (blue-blind)
#9C0024
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8e1239; /* rgb */ color: rgb(142, 18, 57); /* oklch */ color: oklch(42.2% 0.156 10.4);
Tailwind
colors: {
custom: {
50: '#b6616f',
500: '#8e1239',
950: '#000000',
},
}SCSS
$custom: #8e1239; $custom-light: #b6616f; $custom-dark: #000000;
JSON
{
"hex": "#8e1239",
"rgb": {
"r": 142,
"g": 18,
"b": 57
},
"hsl": {
"h": 341.129,
"s": 77.5,
"l": 31.373
},
"oklch": {
"l": 0.42182,
"c": 0.15646,
"h": 10.4
},
"luminance": 0.06479
}Semantic roles & 50–950 ramp
primary
#8E1239
secondary
#3AC297
accent
#F4B834
background
#FCF6F6
surface
#F8EBEC
border
#D1C6C7
text
#120607
muted
#817A7A