#8E1727#8E1727
#8E1727 is a dark, vivid red. Relative luminance 0.065; OKLCH L 42.1% C 0.152 H 20.6°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1727 |
|---|---|
| RGB | rgb(142, 23, 39) |
| HSL | hsl(352, 72%, 32%) |
| HSV | hsv(352, 84%, 56%) |
| CMYK | cmyk(0%, 83.8%, 72.5%, 44.3%) |
| CIE-LAB | lab(30.67, 48.48, 23.22) |
| CIE-LCH | lch(30.67, 53.75, 25.59°) |
| OKLab | oklab(42.12% 0.1426 0.0535) |
| OKLCH | oklch(42.12% 0.152 20.6) |
| XYZ | xyz(11.8293, 6.5119, 2.5531) |
| Luminance | 0.0651 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.83
Wine Red
#7B0323
ΔE00 5.11
Carmine
#9D0216
ΔE00 5.86
Crimson (survey)
#8C000F
ΔE00 5.99
Rouge
#AB1239
ΔE00 6.46
Brown
#A52A2A
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1727 #178E7E
analogous
#8E1762 #8E1727 #8E4317
triadic
#8E1727 #278E17 #17278E
tetradic
#8E1727 #628E17 #178E7E #43178E
square
#8E1727 #628E17 #178E7E #43178E
split-complementary
#8E1727 #178E43 #17628E
monochromatic
#25060A #590E19 #8E1727 #C32035 #E03F55
Accessibility & contrast
On white
9.12
#8E1727 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#8E1727 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1727
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1727 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1727 | 1.00 | 9.12 | 2.30 | 9.12 |
| #FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D3827
Deuteranopia (green-blind)
#5A5123
Tritanopia (blue-blind)
#9D001F
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8e1727; /* rgb */ color: rgb(142, 23, 39); /* oklch */ color: oklch(42.1% 0.152 20.6);
Tailwind
colors: {
custom: {
50: '#b76261',
500: '#8e1727',
950: '#000000',
},
}SCSS
$custom: #8e1727; $custom-light: #b76261; $custom-dark: #000000;
JSON
{
"hex": "#8e1727",
"rgb": {
"r": 142,
"g": 23,
"b": 39
},
"hsl": {
"h": 351.933,
"s": 72.121,
"l": 32.353
},
"oklch": {
"l": 0.42123,
"c": 0.15233,
"h": 20.6
},
"luminance": 0.0651
}Semantic roles & 50–950 ramp
primary
#8E1727
secondary
#40C0AF
accent
#EFD639
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130605
muted
#827A79