#8E1331#8E1331
#8E1331 is a dark, vivid red. Relative luminance 0.064; OKLCH L 42.1% C 0.155 H 14.8°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1331 |
|---|---|
| RGB | rgb(142, 19, 49) |
| HSL | hsl(345, 76%, 32%) |
| HSV | hsv(345, 87%, 56%) |
| CMYK | cmyk(0%, 86.6%, 65.5%, 44.3%) |
| CIE-LAB | lab(30.50, 50.02, 16.46) |
| CIE-LCH | lch(30.50, 52.66, 18.21°) |
| OKLab | oklab(42.05% 0.1499 0.0397) |
| OKLCH | oklch(42.05% 0.155 14.8) |
| XYZ | xyz(11.9439, 6.4401, 3.5193) |
| Luminance | 0.0644 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Wine
#8C0034
ΔE00 2.91
Cranberry
#9E003A
ΔE00 3.56
Wine Red
#7B0323
ΔE00 4.44
Burgundy
#800020
ΔE00 4.51
Bordeaux
#7B002C
ΔE00 4.86
Rouge
#AB1239
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1331 #138E70
analogous
#8E136F #8E1331 #8E3313
triadic
#8E1331 #318E13 #13318E
tetradic
#8E1331 #6F8E13 #138E70 #33138E
square
#8E1331 #6F8E13 #138E70 #33138E
split-complementary
#8E1331 #138E33 #136F8E
monochromatic
#22050C #580C1E #8E1331 #C41A44 #E43761
Accessibility & contrast
On white
9.18
#8E1331 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#8E1331 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1331
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1331 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1331 | 1.00 | 9.18 | 2.29 | 9.18 |
| #FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A3831
Deuteranopia (green-blind)
#58512E
Tritanopia (blue-blind)
#9C0021
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8e1331; /* rgb */ color: rgb(142, 19, 49); /* oklch */ color: oklch(42.1% 0.155 14.8);
Tailwind
colors: {
custom: {
50: '#b66168',
500: '#8e1331',
950: '#000000',
},
}SCSS
$custom: #8e1331; $custom-light: #b66168; $custom-dark: #000000;
JSON
{
"hex": "#8e1331",
"rgb": {
"r": 142,
"g": 19,
"b": 49
},
"hsl": {
"h": 345.366,
"s": 76.398,
"l": 31.569
},
"oklch": {
"l": 0.42053,
"c": 0.15506,
"h": 14.8
},
"luminance": 0.06438
}Semantic roles & 50–950 ramp
primary
#8E1331
secondary
#3BC2A1
accent
#F3C535
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130606
muted
#827A7A