#871F38#871F38
#871F38 is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.8% C 0.139 H 11.9°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).
Color values
| HEX | #871F38 |
|---|---|
| RGB | rgb(135, 31, 56) |
| HSL | hsl(346, 63%, 33%) |
| HSV | hsv(346, 77%, 53%) |
| CMYK | cmyk(0%, 77%, 58.5%, 47.1%) |
| CIE-LAB | lab(30.44, 44.92, 11.50) |
| CIE-LCH | lch(30.44, 46.37, 14.36°) |
| OKLab | oklab(41.81% 0.1358 0.0287) |
| OKLCH | oklch(41.81% 0.139 11.9) |
| XYZ | xyz(11.1966, 6.4180, 4.3898) |
| Luminance | 0.0642 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Wine
#8C0034
ΔE00 2.79
Bordeaux
#7B002C
ΔE00 4.29
Cranberry
#9E003A
ΔE00 4.44
Wine Red
#7B0323
ΔE00 5.36
Wine
#722F37
ΔE00 5.55
Purple Red
#990147
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871F38 #1F876E
analogous
#871F6C #871F38 #873A1F
triadic
#871F38 #38871F #1F3887
tetradic
#871F38 #6C871F #1F876E #3A1F87
square
#871F38 #6C871F #1F876E #3A1F87
split-complementary
#871F38 #1F873A #1F6C87
monochromatic
#23080F #551423 #871F38 #B92A4D #D64B6C
Accessibility & contrast
On white
9.20
#871F38 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#871F38 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871F38
9.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871F38 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871F38 | 1.00 | 9.20 | 2.28 | 9.20 |
| #FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B3A38
Deuteranopia (green-blind)
#554F35
Tritanopia (blue-blind)
#940029
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #871f38; /* rgb */ color: rgb(135, 31, 56); /* oklch */ color: oklch(41.8% 0.139 11.9);
Tailwind
colors: {
custom: {
50: '#b0646e',
500: '#871f38',
950: '#000000',
},
}SCSS
$custom: #871f38; $custom-light: #b0646e; $custom-dark: #000000;
JSON
{
"hex": "#871f38",
"rgb": {
"r": 135,
"g": 31,
"b": 56
},
"hsl": {
"h": 345.577,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.41806,
"c": 0.13876,
"h": 11.9
},
"luminance": 0.06416
}Semantic roles & 50–950 ramp
primary
#871F38
secondary
#4AB89E
accent
#E6BE42
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A