#8E1731#8E1731
#8E1731 is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.3% C 0.152 H 15.5°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1731 |
|---|---|
| RGB | rgb(142, 23, 49) |
| HSL | hsl(347, 72%, 32%) |
| HSV | hsv(347, 84%, 56%) |
| CMYK | cmyk(0%, 83.8%, 65.5%, 44.3%) |
| CIE-LAB | lab(30.85, 49.02, 16.92) |
| CIE-LCH | lch(30.85, 51.86, 19.04°) |
| OKLab | oklab(42.31% 0.1467 0.0407) |
| OKLCH | oklch(42.31% 0.152 15.5) |
| XYZ | xyz(12.0174, 6.5872, 3.5438) |
| Luminance | 0.0659 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Wine
#8C0034
ΔE00 3.44
Cranberry
#9E003A
ΔE00 3.83
Burgundy
#800020
ΔE00 4.50
Wine Red
#7B0323
ΔE00 4.57
Bordeaux
#7B002C
ΔE00 5.25
Rouge
#AB1239
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1731 #178E74
analogous
#8E176C #8E1731 #8E3917
triadic
#8E1731 #318E17 #17318E
tetradic
#8E1731 #6C8E17 #178E74 #39178E
square
#8E1731 #6C8E17 #178E74 #39178E
split-complementary
#8E1731 #178E39 #176C8E
monochromatic
#25060D #590E1F #8E1731 #C32043 #E03F63
Accessibility & contrast
On white
9.06
#8E1731 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#8E1731 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1731
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1731 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1731 | 1.00 | 9.06 | 2.32 | 9.06 |
| #FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B3931
Deuteranopia (green-blind)
#59512E
Tritanopia (blue-blind)
#9C0023
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8e1731; /* rgb */ color: rgb(142, 23, 49); /* oklch */ color: oklch(42.3% 0.152 15.5);
Tailwind
colors: {
custom: {
50: '#b66268',
500: '#8e1731',
950: '#000000',
},
}SCSS
$custom: #8e1731; $custom-light: #b66268; $custom-dark: #000000;
JSON
{
"hex": "#8e1731",
"rgb": {
"r": 142,
"g": 23,
"b": 49
},
"hsl": {
"h": 346.891,
"s": 72.121,
"l": 32.353
},
"oklch": {
"l": 0.42312,
"c": 0.15221,
"h": 15.5
},
"luminance": 0.06585
}Semantic roles & 50–950 ramp
primary
#8E1731
secondary
#40C0A4
accent
#EFC739
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130606
muted
#827A7A