#8E1139#8E1139
#8E1139 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.1% C 0.157 H 10.2°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1139 |
|---|---|
| RGB | rgb(142, 17, 57) |
| HSL | hsl(341, 79%, 31%) |
| HSV | hsv(341, 88%, 56%) |
| CMYK | cmyk(0%, 88%, 59.9%, 44.3%) |
| CIE-LAB | lab(30.52, 50.99, 11.17) |
| CIE-LCH | lch(30.52, 52.20, 12.35°) |
| OKLab | oklab(42.13% 0.1546 0.0279) |
| OKLCH | oklch(42.13% 0.157 10.2) |
| XYZ | xyz(12.0956, 6.4489, 4.4780) |
| Luminance | 0.0645 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 1.42
Cranberry
#9E003A
ΔE00 3.07
Purple Red
#990147
ΔE00 4.25
Bordeaux
#7B002C
ΔE00 4.32
Berry
#990F4B
ΔE00 4.89
Wine (survey)
#80013F
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1139 #118E66
analogous
#8E1177 #8E1139 #8E2711
triadic
#8E1139 #398E11 #11398E
tetradic
#8E1139 #778E11 #118E66 #27118E
square
#8E1139 #778E11 #118E66 #27118E
split-complementary
#8E1139 #118E27 #11778E
monochromatic
#21040D #570A23 #8E1139 #C5184F #E7336C
Accessibility & contrast
On white
9.17
#8E1139 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#8E1139 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1139
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1139 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1139 | 1.00 | 9.17 | 2.29 | 9.17 |
| #FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#37383A
Deuteranopia (green-blind)
#575136
Tritanopia (blue-blind)
#9C0024
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8e1139; /* rgb */ color: rgb(142, 17, 57); /* oklch */ color: oklch(42.1% 0.157 10.2);
Tailwind
colors: {
custom: {
50: '#b6616f',
500: '#8e1139',
950: '#000000',
},
}SCSS
$custom: #8e1139; $custom-light: #b6616f; $custom-dark: #000000;
JSON
{
"hex": "#8e1139",
"rgb": {
"r": 142,
"g": 17,
"b": 57
},
"hsl": {
"h": 340.8,
"s": 78.616,
"l": 31.176
},
"oklch": {
"l": 0.42126,
"c": 0.15711,
"h": 10.2
},
"luminance": 0.06447
}Semantic roles & 50–950 ramp
primary
#8E1139
secondary
#38C296
accent
#F5B733
background
#FCF6F6
surface
#F8EBEC
border
#D1C6C7
text
#120607
muted
#817A7A