#8E2A40#8E2A40
#8E2A40 is a dark, vivid red. Relative luminance 0.078; OKLCH L 44.4% C 0.135 H 11.6°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2A40 |
|---|---|
| RGB | rgb(142, 42, 64) |
| HSL | hsl(347, 54%, 36%) |
| HSV | hsv(347, 70%, 56%) |
| CMYK | cmyk(0%, 70.4%, 54.9%, 44.3%) |
| CIE-LAB | lab(33.52, 43.58, 10.68) |
| CIE-LCH | lch(33.52, 44.87, 13.77°) |
| OKLab | oklab(44.4% 0.1319 0.027) |
| OKLCH | oklch(44.4% 0.135 11.6) |
| XYZ | xyz(12.9099, 7.7786, 5.6711) |
| Luminance | 0.0778 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cranberry
#9E003A
ΔE00 4.42
Red Wine
#8C0034
ΔE00 4.65
Purple Red
#990147
ΔE00 5.78
Berry
#990F4B
ΔE00 5.84
Wine
#722F37
ΔE00 6.13
Rouge
#AB1239
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2A40 #2A8E78
analogous
#8E2A72 #8E2A40 #8E462A
triadic
#8E2A40 #408E2A #2A408E
tetradic
#8E2A40 #728E2A #2A8E78 #462A8E
square
#8E2A40 #728E2A #2A8E78 #462A8E
split-complementary
#8E2A40 #2A8E46 #2A728E
monochromatic
#300E15 #5F1C2B #8E2A40 #BD3855 #D1627A
Accessibility & contrast
On white
8.22
#8E2A40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#8E2A40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2A40
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2A40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2A40 | 1.00 | 8.22 | 2.56 | 8.22 |
| #FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#424240
Deuteranopia (green-blind)
#5C563E
Tritanopia (blue-blind)
#9B1633
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8e2a40; /* rgb */ color: rgb(142, 42, 64); /* oklch */ color: oklch(44.4% 0.135 11.6);
Tailwind
colors: {
custom: {
50: '#b46b74',
500: '#8e2a40',
950: '#000000',
},
}SCSS
$custom: #8e2a40; $custom-light: #b46b74; $custom-dark: #000000;
JSON
{
"hex": "#8e2a40",
"rgb": {
"r": 142,
"g": 42,
"b": 64
},
"hsl": {
"h": 346.8,
"s": 54.348,
"l": 36.078
},
"oklch": {
"l": 0.44398,
"c": 0.13461,
"h": 11.6
},
"luminance": 0.07777
}Semantic roles & 50–950 ramp
primary
#8E2A40
secondary
#5DB6A3
accent
#DEBD4A
background
#FBF6F7
surface
#F6ECED
border
#D0C7C8
text
#120708
muted
#817A7B