#8E271A#8E271A
#8E271A is a dark, vivid red. Relative luminance 0.073; OKLCH L 43.4% C 0.141 H 30.6°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).
Color values
| HEX | #8E271A |
|---|---|
| RGB | rgb(142, 39, 26) |
| HSL | hsl(7, 69%, 33%) |
| HSV | hsv(7, 82%, 56%) |
| CMYK | cmyk(0%, 72.5%, 81.7%, 44.3%) |
| CIE-LAB | lab(32.43, 42.55, 33.07) |
| CIE-LCH | lch(32.43, 53.89, 37.85°) |
| OKLab | oklab(43.38% 0.121 0.0716) |
| OKLCH | oklch(43.38% 0.141 30.6) |
| XYZ | xyz(12.0687, 7.2783, 1.7464) |
| Luminance | 0.0728 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 2.99
Brick Red
#8F1402
ΔE00 4.00
Indian Red
#850E04
ΔE00 4.33
Blood Red
#980002
ΔE00 4.46
Crimson (survey)
#8C000F
ΔE00 4.46
Carmine
#9D0216
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E271A #1A818E
analogous
#8E1A47 #8E271A #8E611A
triadic
#8E271A #1A8E27 #271A8E
tetradic
#8E271A #478E1A #1A818E #611A8E
square
#8E271A #478E1A #1A818E #611A8E
split-complementary
#8E271A #1A8E61 #1A478E
monochromatic
#270B07 #5A1911 #8E271A #C23523 #DD5645
Accessibility & contrast
On white
8.55
#8E271A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#8E271A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E271A
8.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E271A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E271A | 1.00 | 8.55 | 2.46 | 8.55 |
| #FFFFFF | 8.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#463E17
Deuteranopia (green-blind)
#5F5515
Tritanopia (blue-blind)
#9D0025
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #8e271a; /* rgb */ color: rgb(142, 39, 26); /* oklch */ color: oklch(43.4% 0.141 30.6);
Tailwind
colors: {
custom: {
50: '#b76858',
500: '#8e271a',
950: '#000000',
},
}SCSS
$custom: #8e271a; $custom-light: #b76858; $custom-dark: #000000;
JSON
{
"hex": "#8e271a",
"rgb": {
"r": 142,
"g": 39,
"b": 26
},
"hsl": {
"h": 6.724,
"s": 69.048,
"l": 32.941
},
"oklch": {
"l": 0.43382,
"c": 0.14056,
"h": 30.6
},
"luminance": 0.07276
}Semantic roles & 50–950 ramp
primary
#8E271A
secondary
#45B1BE
accent
#D8EC3C
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130703
muted
#827A78