#871C31#871C31
#871C31 is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.4% C 0.141 H 15.4°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).
Color values
| HEX | #871C31 |
|---|---|
| RGB | rgb(135, 28, 49) |
| HSL | hsl(348, 66%, 32%) |
| HSV | hsv(348, 79%, 53%) |
| CMYK | cmyk(0%, 79.3%, 63.7%, 47.1%) |
| CIE-LAB | lab(29.92, 45.44, 15.43) |
| CIE-LCH | lch(29.92, 47.99, 18.76°) |
| OKLab | oklab(41.37% 0.1361 0.0375) |
| OKLCH | oklch(41.37% 0.141 15.4) |
| XYZ | xyz(10.9625, 6.2048, 3.5255) |
| Luminance | 0.0620 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Wine
#8C0034
ΔE00 3.50
Wine Red
#7B0323
ΔE00 3.95
Burgundy
#800020
ΔE00 4.26
Bordeaux
#7B002C
ΔE00 4.53
Cranberry
#9E003A
ΔE00 4.84
Wine
#722F37
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871C31 #1C8772
analogous
#871C67 #871C31 #873C1C
triadic
#871C31 #31871C #1C3187
tetradic
#871C31 #67871C #1C8772 #3C1C87
square
#871C31 #67871C #1C8772 #3C1C87
split-complementary
#871C31 #1C873C #1C6787
monochromatic
#22070C #54111F #871C31 #BA2743 #D84562
Accessibility & contrast
On white
9.37
#871C31 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#871C31 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871C31
9.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871C31 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871C31 | 1.00 | 9.37 | 2.24 | 9.37 |
| #FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A3831
Deuteranopia (green-blind)
#564E2E
Tritanopia (blue-blind)
#940025
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #871c31; /* rgb */ color: rgb(135, 28, 49); /* oklch */ color: oklch(41.4% 0.141 15.4);
Tailwind
colors: {
custom: {
50: '#b16368',
500: '#871c31',
950: '#000000',
},
}SCSS
$custom: #871c31; $custom-light: #b16368; $custom-dark: #000000;
JSON
{
"hex": "#871c31",
"rgb": {
"r": 135,
"g": 28,
"b": 49
},
"hsl": {
"h": 348.224,
"s": 65.644,
"l": 31.961
},
"oklch": {
"l": 0.41371,
"c": 0.1412,
"h": 15.4
},
"luminance": 0.06203
}Semantic roles & 50–950 ramp
primary
#871C31
secondary
#45BAA3
accent
#E9C73F
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A