#872038#872038
#872038 is a dark, vivid red. Relative luminance 0.065; OKLCH L 41.9% C 0.138 H 12.2°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #872038 |
|---|---|
| RGB | rgb(135, 32, 56) |
| HSL | hsl(346, 62%, 33%) |
| HSV | hsv(346, 76%, 53%) |
| CMYK | cmyk(0%, 76.3%, 58.5%, 47.1%) |
| CIE-LAB | lab(30.57, 44.56, 11.67) |
| CIE-LCH | lch(30.57, 46.06, 14.67°) |
| OKLab | oklab(41.9% 0.1346 0.0291) |
| OKLCH | oklch(41.9% 0.138 12.2) |
| XYZ | xyz(11.2231, 6.4710, 4.3987) |
| Luminance | 0.0647 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Wine
#8C0034
ΔE00 2.95
Bordeaux
#7B002C
ΔE00 4.42
Cranberry
#9E003A
ΔE00 4.49
Wine Red
#7B0323
ΔE00 5.37
Wine
#722F37
ΔE00 5.45
Purple Red
#990147
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#872038 #20876F
analogous
#87206C #872038 #873B20
triadic
#872038 #388720 #203887
tetradic
#872038 #6C8720 #20876F #3B2087
square
#872038 #6C8720 #20876F #3B2087
split-complementary
#872038 #20873B #206C87
monochromatic
#24090F #561423 #872038 #B82C4D #D54D6C
Accessibility & contrast
On white
9.16
#872038 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#872038 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #872038
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##872038 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##872038 | 1.00 | 9.16 | 2.29 | 9.16 |
| #FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B3B38
Deuteranopia (green-blind)
#565035
Tritanopia (blue-blind)
#94012A
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #872038; /* rgb */ color: rgb(135, 32, 56); /* oklch */ color: oklch(41.9% 0.138 12.2);
Tailwind
colors: {
custom: {
50: '#b0656e',
500: '#872038',
950: '#000000',
},
}SCSS
$custom: #872038; $custom-light: #b0656e; $custom-dark: #000000;
JSON
{
"hex": "#872038",
"rgb": {
"r": 135,
"g": 32,
"b": 56
},
"hsl": {
"h": 346.019,
"s": 61.677,
"l": 32.745
},
"oklch": {
"l": 0.419,
"c": 0.13772,
"h": 12.2
},
"luminance": 0.06469
}Semantic roles & 50–950 ramp
primary
#872038
secondary
#4BB89E
accent
#E5BF43
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A