#872231#872231
#872231 is a dark, vivid red. Relative luminance 0.065; OKLCH L 41.9% C 0.135 H 17.1°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #872231 |
|---|---|
| RGB | rgb(135, 34, 49) |
| HSL | hsl(351, 60%, 33%) |
| HSV | hsv(351, 75%, 53%) |
| CMYK | cmyk(0%, 74.8%, 63.7%, 47.1%) |
| CIE-LAB | lab(30.68, 43.31, 16.43) |
| CIE-LCH | lch(30.68, 46.33, 20.77°) |
| OKLab | oklab(41.94% 0.1293 0.0398) |
| OKLCH | oklch(41.94% 0.135 17.1) |
| XYZ | xyz(11.1192, 6.5183, 3.5778) |
| Luminance | 0.0652 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 4.49
Wine Red
#7B0323
ΔE00 4.51
Red Wine
#8C0034
ΔE00 4.74
Cranberry
#9E003A
ΔE00 5.53
Wine
#722F37
ΔE00 5.54
Bordeaux
#7B002C
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#872231 #228778
analogous
#872263 #872231 #874522
triadic
#872231 #318722 #223187
tetradic
#872231 #638722 #228778 #452287
square
#872231 #638722 #228778 #452287
split-complementary
#872231 #228745 #226387
monochromatic
#25090E #56161F #872231 #B82E43 #D35064
Accessibility & contrast
On white
9.12
#872231 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#872231 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #872231
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##872231 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##872231 | 1.00 | 9.12 | 2.30 | 9.12 |
| #FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E3B31
Deuteranopia (green-blind)
#57502E
Tritanopia (blue-blind)
#940128
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #872231; /* rgb */ color: rgb(135, 34, 49); /* oklch */ color: oklch(41.9% 0.135 17.1);
Tailwind
colors: {
custom: {
50: '#b06668',
500: '#872231',
950: '#000000',
},
}SCSS
$custom: #872231; $custom-light: #b06668; $custom-dark: #000000;
JSON
{
"hex": "#872231",
"rgb": {
"r": 135,
"g": 34,
"b": 49
},
"hsl": {
"h": 351.089,
"s": 59.763,
"l": 33.137
},
"oklch": {
"l": 0.41935,
"c": 0.1353,
"h": 17.1
},
"luminance": 0.06517
}Semantic roles & 50–950 ramp
primary
#872231
secondary
#4EB7A7
accent
#E3CB45
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A