#8E2A42#8E2A42
#8E2A42 is a dark, vivid red. Relative luminance 0.078; OKLCH L 44.5% C 0.135 H 10.3°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2A42 |
|---|---|
| RGB | rgb(142, 42, 66) |
| HSL | hsl(346, 54%, 36%) |
| HSV | hsv(346, 70%, 56%) |
| CMYK | cmyk(0%, 70.4%, 53.5%, 44.3%) |
| CIE-LAB | lab(33.57, 43.75, 9.45) |
| CIE-LCH | lch(33.57, 44.76, 12.19°) |
| OKLab | oklab(44.45% 0.1327 0.0241) |
| OKLCH | oklch(44.45% 0.135 10.3) |
| XYZ | xyz(12.9678, 7.8018, 5.9762) |
| Luminance | 0.0780 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cranberry
#9E003A
ΔE00 4.56
Red Wine
#8C0034
ΔE00 4.71
Berry
#990F4B
ΔE00 5.26
Purple Red
#990147
ΔE00 5.28
Wine
#722F37
ΔE00 6.33
Raspberry (survey)
#B00149
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2A42 #2A8E76
analogous
#8E2A74 #8E2A42 #8E442A
triadic
#8E2A42 #428E2A #2A428E
tetradic
#8E2A42 #748E2A #2A8E76 #442A8E
square
#8E2A42 #748E2A #2A8E76 #442A8E
split-complementary
#8E2A42 #2A8E44 #2A748E
monochromatic
#300E16 #5F1C2C #8E2A42 #BD3858 #D1627C
Accessibility & contrast
On white
8.20
#8E2A42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#8E2A42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2A42
8.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2A42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2A42 | 1.00 | 8.20 | 2.56 | 8.20 |
| #FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#424242
Deuteranopia (green-blind)
#5C5640
Tritanopia (blue-blind)
#9B1734
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8e2a42; /* rgb */ color: rgb(142, 42, 66); /* oklch */ color: oklch(44.5% 0.135 10.3);
Tailwind
colors: {
custom: {
50: '#b46b76',
500: '#8e2a42',
950: '#000000',
},
}SCSS
$custom: #8e2a42; $custom-light: #b46b76; $custom-dark: #000000;
JSON
{
"hex": "#8e2a42",
"rgb": {
"r": 142,
"g": 42,
"b": 66
},
"hsl": {
"h": 345.6,
"s": 54.348,
"l": 36.078
},
"oklch": {
"l": 0.4445,
"c": 0.13485,
"h": 10.3
},
"luminance": 0.078
}Semantic roles & 50–950 ramp
primary
#8E2A42
secondary
#5DB6A1
accent
#DEBA4A
background
#FBF6F7
surface
#F6ECED
border
#D0C7C8
text
#120708
muted
#817A7B