#872227#872227
#872227 is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.7% C 0.136 H 22.8°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #872227 |
|---|---|
| RGB | rgb(135, 34, 39) |
| HSL | hsl(357, 60%, 33%) |
| HSV | hsv(357, 75%, 53%) |
| CMYK | cmyk(0%, 74.8%, 71.1%, 47.1%) |
| CIE-LAB | lab(30.50, 42.70, 22.68) |
| CIE-LCH | lch(30.50, 48.35, 27.97°) |
| OKLab | oklab(41.74% 0.1252 0.0527) |
| OKLCH | oklch(41.74% 0.136 22.8) |
| XYZ | xyz(10.9311, 6.4431, 2.5871) |
| Luminance | 0.0644 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 4.51
Wine Red
#7B0323
ΔE00 5.64
Crimson (survey)
#8C000F
ΔE00 5.70
Carmine
#9D0216
ΔE00 6.10
Brown
#A52A2A
ΔE00 6.73
Wine
#722F37
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#872227 #228782
analogous
#872259 #872227 #874F22
triadic
#872227 #278722 #222787
tetradic
#872227 #598722 #228782 #4F2287
square
#872227 #598722 #228782 #4F2287
split-complementary
#872227 #22874F #225987
monochromatic
#25090B #561619 #872227 #B82E35 #D35057
Accessibility & contrast
On white
9.18
#872227 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#872227 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #872227
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##872227 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##872227 | 1.00 | 9.18 | 2.29 | 9.18 |
| #FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F3A26
Deuteranopia (green-blind)
#585024
Tritanopia (blue-blind)
#950025
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #872227; /* rgb */ color: rgb(135, 34, 39); /* oklch */ color: oklch(41.7% 0.136 22.8);
Tailwind
colors: {
custom: {
50: '#b16561',
500: '#872227',
950: '#000000',
},
}SCSS
$custom: #872227; $custom-light: #b16561; $custom-dark: #000000;
JSON
{
"hex": "#872227",
"rgb": {
"r": 135,
"g": 34,
"b": 39
},
"hsl": {
"h": 357.03,
"s": 59.763,
"l": 33.137
},
"oklch": {
"l": 0.41743,
"c": 0.13582,
"h": 22.8
},
"luminance": 0.06441
}Semantic roles & 50–950 ramp
primary
#872227
secondary
#4EB7B1
accent
#E3DB45
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120605
muted
#817A79