#8E1837#8E1837
#8E1837 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.5% C 0.152 H 12.4°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1837 |
|---|---|
| RGB | rgb(142, 24, 55) |
| HSL | hsl(344, 71%, 33%) |
| HSV | hsv(344, 83%, 56%) |
| CMYK | cmyk(0%, 83.1%, 61.3%, 44.3%) |
| CIE-LAB | lab(31.07, 49.14, 13.25) |
| CIE-LCH | lch(31.07, 50.89, 15.09°) |
| OKLab | oklab(42.52% 0.1483 0.0327) |
| OKLCH | oklch(42.52% 0.152 12.4) |
| XYZ | xyz(12.1728, 6.6817, 4.2624) |
| Luminance | 0.0668 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 2.18
Cranberry
#9E003A
ΔE00 3.01
Bordeaux
#7B002C
ΔE00 4.71
Wine Red
#7B0323
ΔE00 5.45
Purple Red
#990147
ΔE00 5.49
Burgundy
#800020
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1837 #188E6F
analogous
#8E1872 #8E1837 #8E3418
triadic
#8E1837 #378E18 #18378E
tetradic
#8E1837 #728E18 #188E6F #34188E
square
#8E1837 #728E18 #188E6F #34188E
split-complementary
#8E1837 #188E34 #18728E
monochromatic
#25060E #5A0F23 #8E1837 #C2214B #DF416B
Accessibility & contrast
On white
8.99
#8E1837 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#8E1837 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1837
8.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1837 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1837 | 1.00 | 8.99 | 2.34 | 8.99 |
| #FFFFFF | 8.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A3A37
Deuteranopia (green-blind)
#585234
Tritanopia (blue-blind)
#9C0026
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8e1837; /* rgb */ color: rgb(142, 24, 55); /* oklch */ color: oklch(42.5% 0.152 12.4);
Tailwind
colors: {
custom: {
50: '#b6636d',
500: '#8e1837',
950: '#000000',
},
}SCSS
$custom: #8e1837; $custom-light: #b6636d; $custom-dark: #000000;
JSON
{
"hex": "#8e1837",
"rgb": {
"r": 142,
"g": 24,
"b": 55
},
"hsl": {
"h": 344.237,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.42518,
"c": 0.15182,
"h": 12.4
},
"luminance": 0.0668
}Semantic roles & 50–950 ramp
primary
#8E1837
secondary
#42C09F
accent
#EEBF3A
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#120607
muted
#817A7A