#8E271F#8E271F
#8E271F is a dark, vivid red. Relative luminance 0.073; OKLCH L 43.4% C 0.140 H 28.7°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).
Color values
| HEX | #8E271F |
|---|---|
| RGB | rgb(142, 39, 31) |
| HSL | hsl(4, 64%, 34%) |
| HSV | hsv(4, 78%, 56%) |
| CMYK | cmyk(0%, 72.5%, 78.2%, 44.3%) |
| CIE-LAB | lab(32.49, 42.74, 30.24) |
| CIE-LCH | lch(32.49, 52.36, 35.28°) |
| OKLab | oklab(43.44% 0.1226 0.067) |
| OKLCH | oklch(43.44% 0.14 28.7) |
| XYZ | xyz(12.1296, 7.3026, 2.0669) |
| Luminance | 0.0730 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carmine
#9D0216
ΔE00 4.11
Crimson (survey)
#8C000F
ΔE00 4.27
Red Brown
#8B2E16
ΔE00 4.40
Brown
#A52A2A
ΔE00 4.99
Brownish Red
#9E3623
ΔE00 5.11
Indian Red
#850E04
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E271F #1F868E
analogous
#8E1F4F #8E271F #8E5F1F
triadic
#8E271F #1F8E27 #271F8E
tetradic
#8E271F #4F8E1F #1F868E #5F1F8E
square
#8E271F #4F8E1F #1F868E #5F1F8E
split-complementary
#8E271F #1F8E5F #1F4F8E
monochromatic
#2A0B09 #5C1914 #8E271F #C0352A #D9594F
Accessibility & contrast
On white
8.54
#8E271F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#8E271F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E271F
8.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E271F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E271F | 1.00 | 8.54 | 2.46 | 8.54 |
| #FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#453E1D
Deuteranopia (green-blind)
#5F551B
Tritanopia (blue-blind)
#9D0026
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #8e271f; /* rgb */ color: rgb(142, 39, 31); /* oklch */ color: oklch(43.4% 0.140 28.7);
Tailwind
colors: {
custom: {
50: '#b7685b',
500: '#8e271f',
950: '#000000',
},
}SCSS
$custom: #8e271f; $custom-light: #b7685b; $custom-dark: #000000;
JSON
{
"hex": "#8e271f",
"rgb": {
"r": 142,
"g": 39,
"b": 31
},
"hsl": {
"h": 4.324,
"s": 64.162,
"l": 33.922
},
"oklch": {
"l": 0.43439,
"c": 0.13972,
"h": 28.7
},
"luminance": 0.07301
}Semantic roles & 50–950 ramp
primary
#8E271F
secondary
#4DB4BB
accent
#DBE741
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130704
muted
#827A79