#8E1732#8E1732
#8E1732 is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.3% C 0.152 H 15.0°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1732 |
|---|---|
| RGB | rgb(142, 23, 50) |
| HSL | hsl(346, 72%, 32%) |
| HSV | hsv(346, 84%, 56%) |
| CMYK | cmyk(0%, 83.8%, 64.8%, 44.3%) |
| CIE-LAB | lab(30.87, 49.08, 16.28) |
| CIE-LCH | lch(30.87, 51.72, 18.35°) |
| OKLab | oklab(42.33% 0.1471 0.0394) |
| OKLCH | oklch(42.33% 0.152 15) |
| XYZ | xyz(12.0388, 6.5957, 3.6562) |
| Luminance | 0.0659 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Wine
#8C0034
ΔE00 3.15
Cranberry
#9E003A
ΔE00 3.61
Wine Red
#7B0323
ΔE00 4.66
Burgundy
#800020
ΔE00 4.71
Bordeaux
#7B002C
ΔE00 5.09
Rouge
#AB1239
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1732 #178E73
analogous
#8E176D #8E1732 #8E3817
triadic
#8E1732 #328E17 #17328E
tetradic
#8E1732 #6D8E17 #178E73 #38178E
square
#8E1732 #6D8E17 #178E73 #38178E
split-complementary
#8E1732 #178E38 #176D8E
monochromatic
#25060D #590E1F #8E1732 #C32045 #E03F64
Accessibility & contrast
On white
9.06
#8E1732 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#8E1732 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1732
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1732 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1732 | 1.00 | 9.06 | 2.32 | 9.06 |
| #FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B3932
Deuteranopia (green-blind)
#59512F
Tritanopia (blue-blind)
#9C0023
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8e1732; /* rgb */ color: rgb(142, 23, 50); /* oklch */ color: oklch(42.3% 0.152 15.0);
Tailwind
colors: {
custom: {
50: '#b66269',
500: '#8e1732',
950: '#000000',
},
}SCSS
$custom: #8e1732; $custom-light: #b66269; $custom-dark: #000000;
JSON
{
"hex": "#8e1732",
"rgb": {
"r": 142,
"g": 23,
"b": 50
},
"hsl": {
"h": 346.387,
"s": 72.121,
"l": 32.353
},
"oklch": {
"l": 0.42334,
"c": 0.15226,
"h": 15
},
"luminance": 0.06594
}Semantic roles & 50–950 ramp
primary
#8E1732
secondary
#40C0A3
accent
#EFC639
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130606
muted
#827A7A