#871A28#871A28
#871A28 is a dark, vivid red. Relative luminance 0.060; OKLCH L 41.0% C 0.143 H 19.9°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).
Color values
| HEX | #871A28 |
|---|---|
| RGB | rgb(135, 26, 40) |
| HSL | hsl(352, 68%, 32%) |
| HSV | hsv(352, 81%, 53%) |
| CMYK | cmyk(0%, 80.7%, 70.4%, 47.1%) |
| CIE-LAB | lab(29.52, 45.54, 20.84) |
| CIE-LCH | lch(29.52, 50.08, 24.59°) |
| OKLab | oklab(41.02% 0.1345 0.0487) |
| OKLCH | oklch(41.02% 0.143 19.9) |
| XYZ | xyz(10.7453, 6.0446, 2.6080) |
| Luminance | 0.0604 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 2.99
Wine Red
#7B0323
ΔE00 3.95
Red Wine
#8C0034
ΔE00 6.08
Bordeaux
#7B002C
ΔE00 6.49
Crimson (survey)
#8C000F
ΔE00 6.70
Cranberry
#9E003A
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871A28 #1A8779
analogous
#871A5F #871A28 #87431A
triadic
#871A28 #28871A #1A2887
tetradic
#871A28 #5F871A #1A8779 #431A87
square
#871A28 #5F871A #1A8779 #431A87
split-complementary
#871A28 #1A8743 #1A5F87
monochromatic
#20060A #541019 #871A28 #BA2437 #DA4155
Accessibility & contrast
On white
9.51
#871A28 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#871A28 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871A28
9.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871A28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871A28 | 1.00 | 9.51 | 2.21 | 9.51 |
| #FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B3728
Deuteranopia (green-blind)
#564E25
Tritanopia (blue-blind)
#950020
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #871a28; /* rgb */ color: rgb(135, 26, 40); /* oklch */ color: oklch(41.0% 0.143 19.9);
Tailwind
colors: {
custom: {
50: '#b16261',
500: '#871a28',
950: '#000000',
},
}SCSS
$custom: #871a28; $custom-light: #b16261; $custom-dark: #000000;
JSON
{
"hex": "#871a28",
"rgb": {
"r": 135,
"g": 26,
"b": 40
},
"hsl": {
"h": 352.294,
"s": 67.702,
"l": 31.569
},
"oklch": {
"l": 0.4102,
"c": 0.14302,
"h": 19.9
},
"luminance": 0.06043
}Semantic roles & 50–950 ramp
primary
#871A28
secondary
#42BAAB
accent
#EBD43D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120605
muted
#817A79