#871F2F#871F2F
#871F2F is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.6% C 0.138 H 17.4°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #871F2F |
|---|---|
| RGB | rgb(135, 31, 47) |
| HSL | hsl(351, 63%, 33%) |
| HSV | hsv(351, 77%, 53%) |
| CMYK | cmyk(0%, 77%, 65.2%, 47.1%) |
| CIE-LAB | lab(30.25, 44.28, 17.18) |
| CIE-LCH | lch(30.25, 47.50, 21.20°) |
| OKLab | oklab(41.6% 0.132 0.0414) |
| OKLCH | oklch(41.6% 0.138 17.4) |
| XYZ | xyz(10.9959, 6.3377, 3.3331) |
| Luminance | 0.0634 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.97
Wine Red
#7B0323
ΔE00 4.10
Red Wine
#8C0034
ΔE00 4.68
Bordeaux
#7B002C
ΔE00 5.49
Cranberry
#9E003A
ΔE00 5.56
Wine
#722F37
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871F2F #1F8777
analogous
#871F63 #871F2F #87431F
triadic
#871F2F #2F871F #1F2F87
tetradic
#871F2F #63871F #1F8777 #431F87
square
#871F2F #63871F #1F8777 #431F87
split-complementary
#871F2F #1F8743 #1F6387
monochromatic
#23080C #55141E #871F2F #B92A40 #D64B60
Accessibility & contrast
On white
9.26
#871F2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#871F2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871F2F
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871F2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871F2F | 1.00 | 9.26 | 2.27 | 9.26 |
| #FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C392F
Deuteranopia (green-blind)
#574F2C
Tritanopia (blue-blind)
#940026
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #871f2f; /* rgb */ color: rgb(135, 31, 47); /* oklch */ color: oklch(41.6% 0.138 17.4);
Tailwind
colors: {
custom: {
50: '#b16467',
500: '#871f2f',
950: '#000000',
},
}SCSS
$custom: #871f2f; $custom-light: #b16467; $custom-dark: #000000;
JSON
{
"hex": "#871f2f",
"rgb": {
"r": 135,
"g": 31,
"b": 47
},
"hsl": {
"h": 350.769,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.41599,
"c": 0.13832,
"h": 17.4
},
"luminance": 0.06336
}Semantic roles & 50–950 ramp
primary
#871F2F
secondary
#4AB8A7
accent
#E6CD42
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A