#8E1F1F#8E1F1F
#8E1F1F is a dark, vivid red. Relative luminance 0.068; OKLCH L 42.6% C 0.147 H 26.1°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1F1F |
|---|---|
| RGB | rgb(142, 31, 31) |
| HSL | hsl(0, 64%, 34%) |
| HSV | hsv(0, 78%, 56%) |
| CMYK | cmyk(0%, 78.2%, 78.2%, 44.3%) |
| CIE-LAB | lab(31.42, 45.69, 29.09) |
| CIE-LCH | lch(31.42, 54.17, 32.48°) |
| OKLab | oklab(42.64% 0.1319 0.0645) |
| OKLCH | oklch(42.64% 0.147 26.1) |
| XYZ | xyz(11.8940, 6.8316, 1.9884) |
| Luminance | 0.0683 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.45
Carmine
#9D0216
ΔE00 3.46
Brown
#A52A2A
ΔE00 5.15
Indian Red
#850E04
ΔE00 5.52
Darkred
#8B0000
ΔE00 5.71
Dark Red
#840000
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1F1F #1F8E8E
analogous
#8E1F57 #8E1F1F #8E571F
triadic
#8E1F1F #1F8E1F #1F1F8E
tetradic
#8E1F1F #578E1F #1F8E8E #571F8E
square
#8E1F1F #578E1F #1F8E8E #571F8E
split-complementary
#8E1F1F #1F8E57 #1F578E
monochromatic
#2A0909 #5C1414 #8E1F1F #C02A2A #D94F4F
Accessibility & contrast
On white
8.88
#8E1F1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#8E1F1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1F1F
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1F1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1F1F | 1.00 | 8.88 | 2.37 | 8.88 |
| #FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#413B1E
Deuteranopia (green-blind)
#5C531B
Tritanopia (blue-blind)
#9D0021
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8e1f1f; /* rgb */ color: rgb(142, 31, 31); /* oklch */ color: oklch(42.6% 0.147 26.1);
Tailwind
colors: {
custom: {
50: '#b7655b',
500: '#8e1f1f',
950: '#000000',
},
}SCSS
$custom: #8e1f1f; $custom-light: #b7655b; $custom-dark: #000000;
JSON
{
"hex": "#8e1f1f",
"rgb": {
"r": 142,
"g": 31,
"b": 31
},
"hsl": {
"h": 0,
"s": 64.162,
"l": 33.922
},
"oklch": {
"l": 0.42644,
"c": 0.14683,
"h": 26.1
},
"luminance": 0.0683
}Semantic roles & 50–950 ramp
primary
#8E1F1F
secondary
#4DBBBB
accent
#E7E741
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130604
muted
#827A79