#871E38#871E38
#871E38 is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.7% C 0.140 H 11.7°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #871E38 |
|---|---|
| RGB | rgb(135, 30, 56) |
| HSL | hsl(345, 64%, 32%) |
| HSV | hsv(345, 78%, 53%) |
| CMYK | cmyk(0%, 77.8%, 58.5%, 47.1%) |
| CIE-LAB | lab(30.32, 45.27, 11.33) |
| CIE-LCH | lch(30.32, 46.66, 14.05°) |
| OKLab | oklab(41.71% 0.1369 0.0283) |
| OKLCH | oklch(41.71% 0.14 11.7) |
| XYZ | xyz(11.1708, 6.3666, 4.3813) |
| Luminance | 0.0636 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Wine
#8C0034
ΔE00 2.63
Bordeaux
#7B002C
ΔE00 4.16
Cranberry
#9E003A
ΔE00 4.40
Wine Red
#7B0323
ΔE00 5.35
Wine
#722F37
ΔE00 5.66
Purple Red
#990147
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871E38 #1E876D
analogous
#871E6C #871E38 #87391E
triadic
#871E38 #38871E #1E3887
tetradic
#871E38 #6C871E #1E876D #391E87
square
#871E38 #6C871E #1E876D #391E87
split-complementary
#871E38 #1E8739 #1E6C87
monochromatic
#23080E #551323 #871E38 #B9294D #D7496C
Accessibility & contrast
On white
9.24
#871E38 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#871E38 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871E38
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871E38 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871E38 | 1.00 | 9.24 | 2.27 | 9.24 |
| #FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A3A38
Deuteranopia (green-blind)
#554F35
Tritanopia (blue-blind)
#940029
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #871e38; /* rgb */ color: rgb(135, 30, 56); /* oklch */ color: oklch(41.7% 0.140 11.7);
Tailwind
colors: {
custom: {
50: '#b0646e',
500: '#871e38',
950: '#000000',
},
}SCSS
$custom: #871e38; $custom-light: #b0646e; $custom-dark: #000000;
JSON
{
"hex": "#871e38",
"rgb": {
"r": 135,
"g": 30,
"b": 56
},
"hsl": {
"h": 345.143,
"s": 63.636,
"l": 32.353
},
"oklch": {
"l": 0.41714,
"c": 0.13977,
"h": 11.7
},
"luminance": 0.06365
}Semantic roles & 50–950 ramp
primary
#871E38
secondary
#48B99D
accent
#E7BE41
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A