#8E2233#8E2233
#8E2233 is a dark, vivid red. Relative luminance 0.071; OKLCH L 43.3% C 0.143 H 17.0°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2233 |
|---|---|
| RGB | rgb(142, 34, 51) |
| HSL | hsl(351, 61%, 35%) |
| HSV | hsv(351, 76%, 56%) |
| CMYK | cmyk(0%, 76.1%, 64.1%, 44.3%) |
| CIE-LAB | lab(32.11, 45.70, 17.26) |
| CIE-LCH | lch(32.11, 48.85, 20.69°) |
| OKLab | oklab(43.26% 0.1364 0.0417) |
| OKLCH | oklch(43.26% 0.143 17) |
| XYZ | xyz(12.3262, 7.1357, 3.8596) |
| Luminance | 0.0713 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cranberry
#9E003A
ΔE00 4.69
Red Wine
#8C0034
ΔE00 4.84
Burgundy
#800020
ΔE00 5.20
Rouge
#AB1239
ΔE00 5.38
Wine Red
#7B0323
ΔE00 5.47
Bordeaux
#7B002C
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2233 #228E7D
analogous
#8E2269 #8E2233 #8E4722
triadic
#8E2233 #338E22 #22338E
tetradic
#8E2233 #698E22 #228E7D #47228E
square
#8E2233 #698E22 #228E7D #47228E
split-complementary
#8E2233 #228E47 #22698E
monochromatic
#2B0A10 #5D1621 #8E2233 #BF2E45 #D65469
Accessibility & contrast
On white
8.65
#8E2233 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#8E2233 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2233
8.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2233 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2233 | 1.00 | 8.65 | 2.43 | 8.65 |
| #FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#403D33
Deuteranopia (green-blind)
#5B5430
Tritanopia (blue-blind)
#9C0029
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #8e2233; /* rgb */ color: rgb(142, 34, 51); /* oklch */ color: oklch(43.3% 0.143 17.0);
Tailwind
colors: {
custom: {
50: '#b6676a',
500: '#8e2233',
950: '#000000',
},
}SCSS
$custom: #8e2233; $custom-light: #b6676a; $custom-dark: #000000;
JSON
{
"hex": "#8e2233",
"rgb": {
"r": 142,
"g": 34,
"b": 51
},
"hsl": {
"h": 350.556,
"s": 61.364,
"l": 34.51
},
"oklch": {
"l": 0.43262,
"c": 0.14263,
"h": 17
},
"luminance": 0.07134
}Semantic roles & 50–950 ramp
primary
#8E2233
secondary
#52BAAA
accent
#E4CB43
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#120606
muted
#817A7A