#8E271D#8E271D
#8E271D is a dark, vivid red. Relative luminance 0.073; OKLCH L 43.4% C 0.140 H 29.5°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).
Color values
| HEX | #8E271D |
|---|---|
| RGB | rgb(142, 39, 29) |
| HSL | hsl(5, 66%, 34%) |
| HSV | hsv(5, 80%, 56%) |
| CMYK | cmyk(0%, 72.5%, 79.6%, 44.3%) |
| CIE-LAB | lab(32.46, 42.66, 31.39) |
| CIE-LCH | lch(32.46, 52.96, 36.34°) |
| OKLab | oklab(43.42% 0.1219 0.0689) |
| OKLCH | oklch(43.42% 0.14 29.5) |
| XYZ | xyz(12.1040, 7.2924, 1.9324) |
| Luminance | 0.0729 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 3.81
Carmine
#9D0216
ΔE00 4.21
Crimson (survey)
#8C000F
ΔE00 4.28
Brick Red
#8F1402
ΔE00 4.75
Indian Red
#850E04
ΔE00 4.77
Brownish Red
#9E3623
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E271D #1D848E
analogous
#8E1D4B #8E271D #8E5F1D
triadic
#8E271D #1D8E27 #271D8E
tetradic
#8E271D #4B8E1D #1D848E #5F1D8E
square
#8E271D #4B8E1D #1D848E #5F1D8E
split-complementary
#8E271D #1D8E5F #1D4B8E
monochromatic
#280B08 #5B1913 #8E271D #C13527 #DA584B
Accessibility & contrast
On white
8.54
#8E271D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#8E271D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E271D
8.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E271D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E271D | 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)
#453E1B
Deuteranopia (green-blind)
#5F5519
Tritanopia (blue-blind)
#9D0026
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #8e271d; /* rgb */ color: rgb(142, 39, 29); /* oklch */ color: oklch(43.4% 0.140 29.5);
Tailwind
colors: {
custom: {
50: '#b7685a',
500: '#8e271d',
950: '#000000',
},
}SCSS
$custom: #8e271d; $custom-light: #b7685a; $custom-dark: #000000;
JSON
{
"hex": "#8e271d",
"rgb": {
"r": 142,
"g": 39,
"b": 29
},
"hsl": {
"h": 5.31,
"s": 66.082,
"l": 33.529
},
"oklch": {
"l": 0.43415,
"c": 0.14005,
"h": 29.5
},
"luminance": 0.07291
}Semantic roles & 50–950 ramp
primary
#8E271D
secondary
#4AB2BD
accent
#DAE93F
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130704
muted
#827A79