#8E1F22#8E1F22
#8E1F22 is a dark, vivid red. Relative luminance 0.068; OKLCH L 42.7% C 0.146 H 24.8°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1F22 |
|---|---|
| RGB | rgb(142, 31, 34) |
| HSL | hsl(358, 64%, 34%) |
| HSV | hsv(358, 78%, 56%) |
| CMYK | cmyk(0%, 78.2%, 76.1%, 44.3%) |
| CIE-LAB | lab(31.46, 45.82, 27.30) |
| CIE-LCH | lch(31.46, 53.33, 30.79°) |
| OKLab | oklab(42.69% 0.133 0.0614) |
| OKLCH | oklch(42.69% 0.146 24.8) |
| XYZ | xyz(11.9354, 6.8481, 2.2064) |
| Luminance | 0.0685 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carmine
#9D0216
ΔE00 3.93
Crimson (survey)
#8C000F
ΔE00 4.07
Brown
#A52A2A
ΔE00 5.18
Burgundy
#800020
ΔE00 5.87
Indian Red
#850E04
ΔE00 6.40
Darkred
#8B0000
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1F22 #1F8E8B
analogous
#8E1F5A #8E1F22 #8E541F
triadic
#8E1F22 #228E1F #1F228E
tetradic
#8E1F22 #5A8E1F #1F8E8B #541F8E
square
#8E1F22 #5A8E1F #1F8E8B #541F8E
split-complementary
#8E1F22 #1F8E54 #1F5A8E
monochromatic
#2A090A #5C1416 #8E1F22 #C02A2E #D94F53
Accessibility & contrast
On white
8.86
#8E1F22 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#8E1F22 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1F22
8.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1F22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1F22 | 1.00 | 8.86 | 2.37 | 8.86 |
| #FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#413B21
Deuteranopia (green-blind)
#5C531E
Tritanopia (blue-blind)
#9D0022
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8e1f22; /* rgb */ color: rgb(142, 31, 34); /* oklch */ color: oklch(42.7% 0.146 24.8);
Tailwind
colors: {
custom: {
50: '#b7655d',
500: '#8e1f22',
950: '#000000',
},
}SCSS
$custom: #8e1f22; $custom-light: #b7655d; $custom-dark: #000000;
JSON
{
"hex": "#8e1f22",
"rgb": {
"r": 142,
"g": 31,
"b": 34
},
"hsl": {
"h": 358.378,
"s": 64.162,
"l": 33.922
},
"oklch": {
"l": 0.42685,
"c": 0.14645,
"h": 24.8
},
"luminance": 0.06846
}Semantic roles & 50–950 ramp
primary
#8E1F22
secondary
#4DBBB8
accent
#E7E341
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130604
muted
#827A79