#8E1F33#8E1F33
#8E1F33 is a dark, vivid red. Relative luminance 0.070; OKLCH L 43.0% C 0.145 H 16.2°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1F33 |
|---|---|
| RGB | rgb(142, 31, 51) |
| HSL | hsl(349, 64%, 34%) |
| HSV | hsv(349, 78%, 56%) |
| CMYK | cmyk(0%, 78.2%, 64.1%, 44.3%) |
| CIE-LAB | lab(31.74, 46.74, 16.77) |
| CIE-LCH | lch(31.74, 49.65, 19.74°) |
| OKLab | oklab(42.99% 0.1397 0.0406) |
| OKLCH | oklch(42.99% 0.146 16.2) |
| XYZ | xyz(12.2441, 6.9716, 3.8323) |
| Luminance | 0.0697 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cranberry
#9E003A
ΔE00 4.23
Red Wine
#8C0034
ΔE00 4.23
Burgundy
#800020
ΔE00 5.04
Wine Red
#7B0323
ΔE00 5.19
Rouge
#AB1239
ΔE00 5.38
Bordeaux
#7B002C
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1F33 #1F8E7A
analogous
#8E1F6B #8E1F33 #8E431F
triadic
#8E1F33 #338E1F #1F338E
tetradic
#8E1F33 #6B8E1F #1F8E7A #431F8E
square
#8E1F33 #6B8E1F #1F8E7A #431F8E
split-complementary
#8E1F33 #1F8E43 #1F6B8E
monochromatic
#2A090F #5C1421 #8E1F33 #C02A45 #D94F68
Accessibility & contrast
On white
8.77
#8E1F33 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#8E1F33 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1F33
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1F33 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1F33 | 1.00 | 8.77 | 2.39 | 8.77 |
| #FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E3C33
Deuteranopia (green-blind)
#5B5330
Tritanopia (blue-blind)
#9C0028
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8e1f33; /* rgb */ color: rgb(142, 31, 51); /* oklch */ color: oklch(43.0% 0.145 16.2);
Tailwind
colors: {
custom: {
50: '#b6656a',
500: '#8e1f33',
950: '#000000',
},
}SCSS
$custom: #8e1f33; $custom-light: #b6656a; $custom-dark: #000000;
JSON
{
"hex": "#8e1f33",
"rgb": {
"r": 142,
"g": 31,
"b": 51
},
"hsl": {
"h": 349.189,
"s": 64.162,
"l": 33.922
},
"oklch": {
"l": 0.42987,
"c": 0.1455,
"h": 16.2
},
"luminance": 0.0697
}Semantic roles & 50–950 ramp
primary
#8E1F33
secondary
#4DBBA8
accent
#E7C941
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#120606
muted
#817A7A