#871F2D#871F2D
#871F2D is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.6% C 0.138 H 18.5°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).
Color values
| HEX | #871F2D |
|---|---|
| RGB | rgb(135, 31, 45) |
| HSL | hsl(352, 63%, 33%) |
| HSV | hsv(352, 77%, 53%) |
| CMYK | cmyk(0%, 77%, 66.7%, 47.1%) |
| CIE-LAB | lab(30.21, 44.16, 18.44) |
| CIE-LCH | lch(30.21, 47.85, 22.66°) |
| OKLab | oklab(41.56% 0.1312 0.044) |
| OKLCH | oklch(41.56% 0.138 18.5) |
| XYZ | xyz(10.9565, 6.3220, 3.1255) |
| Luminance | 0.0632 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.73
Wine Red
#7B0323
ΔE00 4.15
Red Wine
#8C0034
ΔE00 5.31
Bordeaux
#7B002C
ΔE00 5.99
Cranberry
#9E003A
ΔE00 6.05
Wine
#722F37
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871F2D #1F8779
analogous
#871F61 #871F2D #87451F
triadic
#871F2D #2D871F #1F2D87
tetradic
#871F2D #61871F #1F8779 #451F87
square
#871F2D #61871F #1F8779 #451F87
split-complementary
#871F2D #1F8745 #1F6187
monochromatic
#23080C #55141C #871F2D #B92A3E #D64B5D
Accessibility & contrast
On white
9.28
#871F2D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#871F2D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871F2D
9.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871F2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871F2D | 1.00 | 9.28 | 2.26 | 9.28 |
| #FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D392D
Deuteranopia (green-blind)
#574F2A
Tritanopia (blue-blind)
#950025
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #871f2d; /* rgb */ color: rgb(135, 31, 45); /* oklch */ color: oklch(41.6% 0.138 18.5);
Tailwind
colors: {
custom: {
50: '#b16465',
500: '#871f2d',
950: '#000000',
},
}SCSS
$custom: #871f2d; $custom-light: #b16465; $custom-dark: #000000;
JSON
{
"hex": "#871f2d",
"rgb": {
"r": 135,
"g": 31,
"b": 45
},
"hsl": {
"h": 351.923,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.41558,
"c": 0.13835,
"h": 18.5
},
"luminance": 0.0632
}Semantic roles & 50–950 ramp
primary
#871F2D
secondary
#4AB8A9
accent
#E6D042
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120605
muted
#817A7A