#8E2818#8E2818
#8E2818 is a dark, vivid red. Relative luminance 0.073; OKLCH L 43.5% C 0.140 H 31.7°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2818 |
|---|---|
| RGB | rgb(142, 40, 24) |
| HSL | hsl(8, 71%, 33%) |
| HSV | hsv(8, 83%, 56%) |
| CMYK | cmyk(0%, 71.8%, 83.1%, 44.3%) |
| CIE-LAB | lab(32.56, 42.08, 34.29) |
| CIE-LCH | lch(32.56, 54.28, 39.18°) |
| OKLab | oklab(43.47% 0.1191 0.0736) |
| OKLCH | oklch(43.47% 0.14 31.7) |
| XYZ | xyz(12.0804, 7.3362, 1.6439) |
| Luminance | 0.0733 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 2.25
Brick Red
#8F1402
ΔE00 3.58
Indian Red
#850E04
ΔE00 4.26
Blood Red
#980002
ΔE00 4.32
Brownish Red
#9E3623
ΔE00 4.41
Deep Red
#9A0200
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2818 #187E8E
analogous
#8E1843 #8E2818 #8E6318
triadic
#8E2818 #188E28 #28188E
tetradic
#8E2818 #438E18 #187E8E #63188E
square
#8E2818 #438E18 #187E8E #63188E
split-complementary
#8E2818 #188E63 #18438E
monochromatic
#250B06 #5A190F #8E2818 #C23721 #DF5741
Accessibility & contrast
On white
8.51
#8E2818 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#8E2818 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2818
8.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2818 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2818 | 1.00 | 8.51 | 2.47 | 8.51 |
| #FFFFFF | 8.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#463E15
Deuteranopia (green-blind)
#5F5513
Tritanopia (blue-blind)
#9D0025
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #8e2818; /* rgb */ color: rgb(142, 40, 24); /* oklch */ color: oklch(43.5% 0.140 31.7);
Tailwind
colors: {
custom: {
50: '#b76956',
500: '#8e2818',
950: '#000000',
},
}SCSS
$custom: #8e2818; $custom-light: #b76956; $custom-dark: #000000;
JSON
{
"hex": "#8e2818",
"rgb": {
"r": 142,
"g": 40,
"b": 24
},
"hsl": {
"h": 8.136,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.43472,
"c": 0.13999,
"h": 31.7
},
"luminance": 0.07334
}Semantic roles & 50–950 ramp
primary
#8E2818
secondary
#42AFC0
accent
#D5EE3A
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130703
muted
#827A78