#871E31#871E31
#871E31 is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.5% C 0.139 H 15.9°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).
Color values
| HEX | #871E31 |
|---|---|
| RGB | rgb(135, 30, 49) |
| HSL | hsl(349, 64%, 32%) |
| HSV | hsv(349, 78%, 53%) |
| CMYK | cmyk(0%, 77.8%, 63.7%, 47.1%) |
| CIE-LAB | lab(30.16, 44.76, 15.75) |
| CIE-LCH | lch(30.16, 47.45, 19.38°) |
| OKLab | oklab(41.55% 0.134 0.0383) |
| OKLCH | oklch(41.55% 0.139 15.9) |
| XYZ | xyz(11.0115, 6.3028, 3.5419) |
| Luminance | 0.0630 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Wine
#8C0034
ΔE00 3.89
Wine Red
#7B0323
ΔE00 4.09
Burgundy
#800020
ΔE00 4.30
Bordeaux
#7B002C
ΔE00 4.87
Cranberry
#9E003A
ΔE00 5.03
Wine
#722F37
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871E31 #1E8774
analogous
#871E65 #871E31 #87401E
triadic
#871E31 #31871E #1E3187
tetradic
#871E31 #65871E #1E8774 #401E87
square
#871E31 #65871E #1E8774 #401E87
split-complementary
#871E31 #1E8740 #1E6587
monochromatic
#23080D #55131F #871E31 #B92943 #D74963
Accessibility & contrast
On white
9.29
#871E31 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#871E31 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871E31
9.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871E31 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871E31 | 1.00 | 9.29 | 2.26 | 9.29 |
| #FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B3931
Deuteranopia (green-blind)
#564F2E
Tritanopia (blue-blind)
#940026
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #871e31; /* rgb */ color: rgb(135, 30, 49); /* oklch */ color: oklch(41.5% 0.139 15.9);
Tailwind
colors: {
custom: {
50: '#b06468',
500: '#871e31',
950: '#000000',
},
}SCSS
$custom: #871e31; $custom-light: #b06468; $custom-dark: #000000;
JSON
{
"hex": "#871e31",
"rgb": {
"r": 135,
"g": 30,
"b": 49
},
"hsl": {
"h": 349.143,
"s": 63.636,
"l": 32.353
},
"oklch": {
"l": 0.41549,
"c": 0.1393,
"h": 15.9
},
"luminance": 0.06301
}Semantic roles & 50–950 ramp
primary
#871E31
secondary
#48B9A4
accent
#E7C941
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A