#8E1831#8E1831
#8E1831 is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.4% C 0.151 H 15.7°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1831 |
|---|---|
| RGB | rgb(142, 24, 49) |
| HSL | hsl(347, 71%, 33%) |
| HSV | hsv(347, 83%, 56%) |
| CMYK | cmyk(0%, 83.1%, 65.5%, 44.3%) |
| CIE-LAB | lab(30.94, 48.75, 17.04) |
| CIE-LCH | lch(30.94, 51.64, 19.27°) |
| OKLab | oklab(42.38% 0.1458 0.041) |
| OKLCH | oklch(42.38% 0.151 15.7) |
| XYZ | xyz(12.0377, 6.6277, 3.5506) |
| Luminance | 0.0663 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Wine
#8C0034
ΔE00 3.59
Cranberry
#9E003A
ΔE00 3.91
Burgundy
#800020
ΔE00 4.51
Wine Red
#7B0323
ΔE00 4.61
Bordeaux
#7B002C
ΔE00 5.37
Rouge
#AB1239
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1831 #188E75
analogous
#8E186C #8E1831 #8E3A18
triadic
#8E1831 #318E18 #18318E
tetradic
#8E1831 #6C8E18 #188E75 #3A188E
square
#8E1831 #6C8E18 #188E75 #3A188E
split-complementary
#8E1831 #188E3A #186C8E
monochromatic
#25060D #5A0F1F #8E1831 #C22143 #DF4163
Accessibility & contrast
On white
9.03
#8E1831 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#8E1831 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1831
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1831 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1831 | 1.00 | 9.03 | 2.33 | 9.03 |
| #FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C3931
Deuteranopia (green-blind)
#59522E
Tritanopia (blue-blind)
#9C0023
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8e1831; /* rgb */ color: rgb(142, 24, 49); /* oklch */ color: oklch(42.4% 0.151 15.7);
Tailwind
colors: {
custom: {
50: '#b66368',
500: '#8e1831',
950: '#000000',
},
}SCSS
$custom: #8e1831; $custom-light: #b66368; $custom-dark: #000000;
JSON
{
"hex": "#8e1831",
"rgb": {
"r": 142,
"g": 24,
"b": 49
},
"hsl": {
"h": 347.288,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.42383,
"c": 0.15145,
"h": 15.7
},
"luminance": 0.06626
}Semantic roles & 50–950 ramp
primary
#8E1831
secondary
#42C0A5
accent
#EEC83A
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130606
muted
#827A7A