#871F2B#871F2B
#871F2B is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.5% C 0.138 H 19.7°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).
Color values
| HEX | #871F2B |
|---|---|
| RGB | rgb(135, 31, 43) |
| HSL | hsl(353, 63%, 33%) |
| HSV | hsv(353, 77%, 53%) |
| CMYK | cmyk(0%, 77%, 68.1%, 47.1%) |
| CIE-LAB | lab(30.17, 44.04, 19.69) |
| CIE-LCH | lch(30.17, 48.24, 24.10°) |
| OKLab | oklab(41.52% 0.1303 0.0466) |
| OKLCH | oklch(41.52% 0.138 19.7) |
| XYZ | xyz(10.9189, 6.3069, 2.9275) |
| Luminance | 0.0630 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.63
Wine Red
#7B0323
ΔE00 4.33
Red Wine
#8C0034
ΔE00 5.97
Wine
#722F37
ΔE00 6.51
Bordeaux
#7B002C
ΔE00 6.53
Cranberry
#9E003A
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871F2B #1F877B
analogous
#871F5F #871F2B #87471F
triadic
#871F2B #2B871F #1F2B87
tetradic
#871F2B #5F871F #1F877B #471F87
square
#871F2B #5F871F #1F877B #471F87
split-complementary
#871F2B #1F8747 #1F5F87
monochromatic
#23080B #55141B #871F2B #B92A3B #D64B5B
Accessibility & contrast
On white
9.29
#871F2B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#871F2B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871F2B
9.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871F2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871F2B | 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)
#3D392B
Deuteranopia (green-blind)
#574F28
Tritanopia (blue-blind)
#950024
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #871f2b; /* rgb */ color: rgb(135, 31, 43); /* oklch */ color: oklch(41.5% 0.138 19.7);
Tailwind
colors: {
custom: {
50: '#b16464',
500: '#871f2b',
950: '#000000',
},
}SCSS
$custom: #871f2b; $custom-light: #b16464; $custom-dark: #000000;
JSON
{
"hex": "#871f2b",
"rgb": {
"r": 135,
"g": 31,
"b": 43
},
"hsl": {
"h": 353.077,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.41519,
"c": 0.13841,
"h": 19.7
},
"luminance": 0.06305
}Semantic roles & 50–950 ramp
primary
#871F2B
secondary
#4AB8AB
accent
#E6D342
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#120605
muted
#817A79