#8E1131#8E1131
#8E1131 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.9% C 0.156 H 14.5°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1131 |
|---|---|
| RGB | rgb(142, 17, 49) |
| HSL | hsl(345, 79%, 31%) |
| HSV | hsv(345, 88%, 56%) |
| CMYK | cmyk(0%, 88%, 65.5%, 44.3%) |
| CIE-LAB | lab(30.34, 50.47, 16.25) |
| CIE-LCH | lch(30.34, 53.02, 17.85°) |
| OKLab | oklab(41.94% 0.1514 0.0392) |
| OKLCH | oklch(41.94% 0.156 14.5) |
| XYZ | xyz(11.9115, 6.3753, 3.5085) |
| Luminance | 0.0637 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 2.68
Cranberry
#9E003A
ΔE00 3.46
Wine Red
#7B0323
ΔE00 4.40
Burgundy
#800020
ΔE00 4.54
Bordeaux
#7B002C
ΔE00 4.69
Rouge
#AB1239
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1131 #118E6E
analogous
#8E116F #8E1131 #8E2F11
triadic
#8E1131 #318E11 #11318E
tetradic
#8E1131 #6F8E11 #118E6E #2F118E
square
#8E1131 #6F8E11 #118E6E #2F118E
split-complementary
#8E1131 #118E2F #116F8E
monochromatic
#21040B #570A1E #8E1131 #C51844 #E73361
Accessibility & contrast
On white
9.23
#8E1131 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#8E1131 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1131
9.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1131 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1131 | 1.00 | 9.23 | 2.27 | 9.23 |
| #FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393731
Deuteranopia (green-blind)
#58502E
Tritanopia (blue-blind)
#9C0020
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #8e1131; /* rgb */ color: rgb(142, 17, 49); /* oklch */ color: oklch(41.9% 0.156 14.5);
Tailwind
colors: {
custom: {
50: '#b66168',
500: '#8e1131',
950: '#000000',
},
}SCSS
$custom: #8e1131; $custom-light: #b66168; $custom-dark: #000000;
JSON
{
"hex": "#8e1131",
"rgb": {
"r": 142,
"g": 17,
"b": 49
},
"hsl": {
"h": 344.64,
"s": 78.616,
"l": 31.176
},
"oklch": {
"l": 0.41938,
"c": 0.15635,
"h": 14.5
},
"luminance": 0.06373
}Semantic roles & 50–950 ramp
primary
#8E1131
secondary
#38C29F
accent
#F5C333
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130606
muted
#827A7A