#8E1F12#8E1F12
#8E1F12 is a dark, vivid red. Relative luminance 0.068; OKLCH L 42.5% C 0.149 H 30.6°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1F12 |
|---|---|
| RGB | rgb(142, 31, 18) |
| HSL | hsl(6, 78%, 31%) |
| HSV | hsv(6, 87%, 56%) |
| CMYK | cmyk(0%, 78.2%, 87.3%, 44.3%) |
| CIE-LAB | lab(31.29, 45.28, 36.29) |
| CIE-LCH | lch(31.29, 58.02, 38.71°) |
| OKLab | oklab(42.51% 0.1279 0.0756) |
| OKLCH | oklch(42.51% 0.149 30.6) |
| XYZ | xyz(11.7560, 6.7763, 1.2611) |
| Luminance | 0.0677 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brick Red
#8F1402
ΔE00 2.53
Indian Red
#850E04
ΔE00 2.98
Blood Red
#980002
ΔE00 3.11
Darkred
#8B0000
ΔE00 3.19
Red Brown
#8B2E16
ΔE00 3.25
Deep Red
#9A0200
ΔE00 3.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1F12 #12818E
analogous
#8E1243 #8E1F12 #8E5D12
triadic
#8E1F12 #128E1F #1F128E
tetradic
#8E1F12 #438E12 #12818E #5D128E
square
#8E1F12 #438E12 #12818E #5D128E
split-complementary
#8E1F12 #128E5D #12438E
monochromatic
#210704 #58130B #8E1F12 #C42B19 #E54735
Accessibility & contrast
On white
8.92
#8E1F12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#8E1F12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1F12
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1F12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1F12 | 1.00 | 8.92 | 2.35 | 8.92 |
| #FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#423A0F
Deuteranopia (green-blind)
#5D520B
Tritanopia (blue-blind)
#9D001D
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8e1f12; /* rgb */ color: rgb(142, 31, 18); /* oklch */ color: oklch(42.5% 0.149 30.6);
Tailwind
colors: {
custom: {
50: '#b86552',
500: '#8e1f12',
950: '#000000',
},
}SCSS
$custom: #8e1f12; $custom-light: #b86552; $custom-dark: #000000;
JSON
{
"hex": "#8e1f12",
"rgb": {
"r": 142,
"g": 31,
"b": 18
},
"hsl": {
"h": 6.29,
"s": 77.5,
"l": 31.373
},
"oklch": {
"l": 0.42508,
"c": 0.14858,
"h": 30.6
},
"luminance": 0.06774
}Semantic roles & 50–950 ramp
primary
#8E1F12
secondary
#3AB4C2
accent
#E0F434
background
#FCF6F4
surface
#F8EBE7
border
#D1C6C3
text
#130602
muted
#827A78