#8E1F23#8E1F23
#8E1F23 is a dark, vivid red. Relative luminance 0.069; OKLCH L 42.7% C 0.146 H 24.3°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1F23 |
|---|---|
| RGB | rgb(142, 31, 35) |
| HSL | hsl(358, 64%, 34%) |
| HSV | hsv(358, 78%, 56%) |
| CMYK | cmyk(0%, 78.2%, 75.4%, 44.3%) |
| CIE-LAB | lab(31.47, 45.86, 26.69) |
| CIE-LCH | lch(31.47, 53.07, 30.20°) |
| OKLab | oklab(42.7% 0.1333 0.0603) |
| OKLCH | oklch(42.7% 0.146 24.3) |
| XYZ | xyz(11.9501, 6.8540, 2.2835) |
| Luminance | 0.0685 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carmine
#9D0216
ΔE00 4.14
Crimson (survey)
#8C000F
ΔE00 4.31
Brown
#A52A2A
ΔE00 5.23
Burgundy
#800020
ΔE00 5.65
Indian Red
#850E04
ΔE00 6.71
Darkred
#8B0000
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1F23 #1F8E8A
analogous
#8E1F5B #8E1F23 #8E531F
triadic
#8E1F23 #238E1F #1F238E
tetradic
#8E1F23 #5B8E1F #1F8E8A #531F8E
square
#8E1F23 #5B8E1F #1F8E8A #531F8E
split-complementary
#8E1F23 #1F8E53 #1F5B8E
monochromatic
#2A090A #5C1417 #8E1F23 #C02A2F #D94F54
Accessibility & contrast
On white
8.86
#8E1F23 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#8E1F23 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1F23
8.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1F23 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1F23 | 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)
#413B22
Deuteranopia (green-blind)
#5C531F
Tritanopia (blue-blind)
#9D0022
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8e1f23; /* rgb */ color: rgb(142, 31, 35); /* oklch */ color: oklch(42.7% 0.146 24.3);
Tailwind
colors: {
custom: {
50: '#b7655e',
500: '#8e1f23',
950: '#000000',
},
}SCSS
$custom: #8e1f23; $custom-light: #b7655e; $custom-dark: #000000;
JSON
{
"hex": "#8e1f23",
"rgb": {
"r": 142,
"g": 31,
"b": 35
},
"hsl": {
"h": 357.838,
"s": 64.162,
"l": 33.922
},
"oklch": {
"l": 0.42699,
"c": 0.14634,
"h": 24.3
},
"luminance": 0.06852
}Semantic roles & 50–950 ramp
primary
#8E1F23
secondary
#4DBBB7
accent
#E7E141
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130604
muted
#827A79