#8E2231#8E2231
#8E2231 is a dark, vivid red. Relative luminance 0.071; OKLCH L 43.2% C 0.143 H 18.1°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2231 |
|---|---|
| RGB | rgb(142, 34, 49) |
| HSL | hsl(352, 61%, 35%) |
| HSV | hsv(352, 76%, 56%) |
| CMYK | cmyk(0%, 76.1%, 65.5%, 44.3%) |
| CIE-LAB | lab(32.07, 45.57, 18.50) |
| CIE-LCH | lch(32.07, 49.18, 22.10°) |
| OKLab | oklab(43.22% 0.1356 0.0444) |
| OKLCH | oklch(43.22% 0.143 18.1) |
| XYZ | xyz(12.2830, 7.1184, 3.6324) |
| Luminance | 0.0712 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 4.98
Cranberry
#9E003A
ΔE00 5.21
Red Wine
#8C0034
ΔE00 5.41
Wine Red
#7B0323
ΔE00 5.47
Rouge
#AB1239
ΔE00 5.49
Wine
#722F37
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2231 #228E7F
analogous
#8E2267 #8E2231 #8E4922
triadic
#8E2231 #318E22 #22318E
tetradic
#8E2231 #678E22 #228E7F #49228E
square
#8E2231 #678E22 #228E7F #49228E
split-complementary
#8E2231 #228E49 #22678E
monochromatic
#2B0A0F #5D1620 #8E2231 #BF2E42 #D65466
Accessibility & contrast
On white
8.67
#8E2231 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#8E2231 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2231
8.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2231 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2231 | 1.00 | 8.67 | 2.42 | 8.67 |
| #FFFFFF | 8.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#403D31
Deuteranopia (green-blind)
#5C542E
Tritanopia (blue-blind)
#9C0028
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8e2231; /* rgb */ color: rgb(142, 34, 49); /* oklch */ color: oklch(43.2% 0.143 18.1);
Tailwind
colors: {
custom: {
50: '#b66768',
500: '#8e2231',
950: '#000000',
},
}SCSS
$custom: #8e2231; $custom-light: #b66768; $custom-dark: #000000;
JSON
{
"hex": "#8e2231",
"rgb": {
"r": 142,
"g": 34,
"b": 49
},
"hsl": {
"h": 351.667,
"s": 61.364,
"l": 34.51
},
"oklch": {
"l": 0.43221,
"c": 0.14264,
"h": 18.1
},
"luminance": 0.07117
}Semantic roles & 50–950 ramp
primary
#8E2231
secondary
#52BAAB
accent
#E4CE43
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#120606
muted
#817A7A