#571212#571212
#571212 is a dark, moderate red. Relative luminance 0.025; OKLCH L 30.5% C 0.101 H 25.5°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).
Color values
| HEX | #571212 |
|---|---|
| RGB | rgb(87, 18, 18) |
| HSL | hsl(0, 66%, 21%) |
| HSV | hsv(0, 79%, 34%) |
| CMYK | cmyk(0%, 79.3%, 79.3%, 65.9%) |
| CIE-LAB | lab(17.93, 31.30, 19.03) |
| CIE-LCH | lch(17.93, 36.63, 31.30°) |
| OKLab | oklab(30.46% 0.0908 0.0433) |
| OKLCH | oklch(30.46% 0.101 25.5) |
| XYZ | xyz(4.2565, 2.5032, 0.8312) |
| Luminance | 0.0250 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 3.48
Mahogany
#4A0100
ΔE00 3.63
Rosewood
#65000B
ΔE00 3.98
Claret
#680018
ΔE00 5.09
Deep Brown
#410200
ΔE00 5.21
Reddy Brown
#6E1005
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#571212 #125757
analogous
#571234 #571212 #573412
triadic
#571212 #125712 #121257
tetradic
#571212 #345712 #125757 #341257
square
#571212 #345712 #125757 #341257
split-complementary
#571212 #125734 #123457
monochromatic
#190505 #240808 #571212 #8A1C1C #BC2727
Accessibility & contrast
On white
13.99
#571212 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#571212 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #571212
13.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##571212 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##571212 | 1.00 | 13.99 | 1.50 | 13.99 |
| #FFFFFF | 13.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#262211
Deuteranopia (green-blind)
#373110
Tritanopia (blue-blind)
#600013
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #571212; /* rgb */ color: rgb(87, 18, 18); /* oklch */ color: oklch(30.5% 0.101 25.5);
Tailwind
colors: {
custom: {
50: '#8d5650',
500: '#571212',
950: '#000000',
},
}SCSS
$custom: #571212; $custom-light: #8d5650; $custom-dark: #000000;
JSON
{
"hex": "#571212",
"rgb": {
"r": 87,
"g": 18,
"b": 18
},
"hsl": {
"h": 0,
"s": 65.714,
"l": 20.588
},
"oklch": {
"l": 0.3046,
"c": 0.10055,
"h": 25.5
},
"luminance": 0.02503
}Semantic roles & 50–950 ramp
primary
#571212
secondary
#359090
accent
#E9E93F
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0302
muted
#7E7878