#8E2227#8E2227
#8E2227 is a dark, vivid red. Relative luminance 0.070; OKLCH L 43.0% C 0.143 H 23.3°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2227 |
|---|---|
| RGB | rgb(142, 34, 39) |
| HSL | hsl(357, 61%, 35%) |
| HSV | hsv(357, 76%, 56%) |
| CMYK | cmyk(0%, 76.1%, 72.5%, 44.3%) |
| CIE-LAB | lab(31.91, 45.01, 24.70) |
| CIE-LCH | lch(31.91, 51.34, 28.76°) |
| OKLab | oklab(43.04% 0.1315 0.0568) |
| OKLCH | oklch(43.04% 0.143 23.3) |
| XYZ | xyz(12.0949, 7.0432, 2.6417) |
| Luminance | 0.0704 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carmine
#9D0216
ΔE00 4.94
Brown
#A52A2A
ΔE00 5.28
Crimson (survey)
#8C000F
ΔE00 5.29
Burgundy
#800020
ΔE00 5.46
Wine Red
#7B0323
ΔE00 6.77
Rouge
#AB1239
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2227 #228E89
analogous
#8E225D #8E2227 #8E5322
triadic
#8E2227 #278E22 #22278E
tetradic
#8E2227 #5D8E22 #228E89 #53228E
square
#8E2227 #5D8E22 #228E89 #53228E
split-complementary
#8E2227 #228E53 #225D8E
monochromatic
#2B0A0C #5D1619 #8E2227 #BF2E35 #D6545A
Accessibility & contrast
On white
8.72
#8E2227 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#8E2227 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2227
8.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2227 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2227 | 1.00 | 8.72 | 2.41 | 8.72 |
| #FFFFFF | 8.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#423C26
Deuteranopia (green-blind)
#5D5323
Tritanopia (blue-blind)
#9C0025
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8e2227; /* rgb */ color: rgb(142, 34, 39); /* oklch */ color: oklch(43.0% 0.143 23.3);
Tailwind
colors: {
custom: {
50: '#b76661',
500: '#8e2227',
950: '#000000',
},
}SCSS
$custom: #8e2227; $custom-light: #b76661; $custom-dark: #000000;
JSON
{
"hex": "#8e2227",
"rgb": {
"r": 142,
"g": 34,
"b": 39
},
"hsl": {
"h": 357.222,
"s": 61.364,
"l": 34.51
},
"oklch": {
"l": 0.4304,
"c": 0.14327,
"h": 23.3
},
"luminance": 0.07041
}Semantic roles & 50–950 ramp
primary
#8E2227
secondary
#52BAB5
accent
#E4DD43
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130605
muted
#827A79