#871F28#871F28
#871F28 is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.5% C 0.139 H 21.3°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).
Color values
| HEX | #871F28 |
|---|---|
| RGB | rgb(135, 31, 40) |
| HSL | hsl(355, 63%, 33%) |
| HSV | hsv(355, 77%, 53%) |
| CMYK | cmyk(0%, 77%, 70.4%, 47.1%) |
| CIE-LAB | lab(30.12, 43.87, 21.57) |
| CIE-LCH | lch(30.12, 48.88, 26.19°) |
| OKLab | oklab(41.46% 0.1291 0.0504) |
| OKLCH | oklch(41.46% 0.139 21.3) |
| XYZ | xyz(10.8659, 6.2857, 2.6482) |
| Luminance | 0.0628 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.77
Wine Red
#7B0323
ΔE00 4.81
Crimson (survey)
#8C000F
ΔE00 6.23
Carmine
#9D0216
ΔE00 6.62
Red Wine
#8C0034
ΔE00 6.99
Wine
#722F37
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871F28 #1F877E
analogous
#871F5C #871F28 #874A1F
triadic
#871F28 #28871F #1F2887
tetradic
#871F28 #5C871F #1F877E #4A1F87
square
#871F28 #5C871F #1F877E #4A1F87
split-complementary
#871F28 #1F874A #1F5C87
monochromatic
#23080B #551419 #871F28 #B92A37 #D64B57
Accessibility & contrast
On white
9.31
#871F28 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#871F28 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871F28
9.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871F28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871F28 | 1.00 | 9.31 | 2.26 | 9.31 |
| #FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D3927
Deuteranopia (green-blind)
#574F25
Tritanopia (blue-blind)
#950023
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #871f28; /* rgb */ color: rgb(135, 31, 40); /* oklch */ color: oklch(41.5% 0.139 21.3);
Tailwind
colors: {
custom: {
50: '#b16461',
500: '#871f28',
950: '#000000',
},
}SCSS
$custom: #871f28; $custom-light: #b16461; $custom-dark: #000000;
JSON
{
"hex": "#871f28",
"rgb": {
"r": 135,
"g": 31,
"b": 40
},
"hsl": {
"h": 354.808,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.41464,
"c": 0.13859,
"h": 21.3
},
"luminance": 0.06284
}Semantic roles & 50–950 ramp
primary
#871F28
secondary
#4AB8AF
accent
#E6D842
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#120605
muted
#817A79