#581212#581212
#581212 is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.7% C 0.102 H 25.5°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).
Color values
| HEX | #581212 |
|---|---|
| RGB | rgb(88, 18, 18) |
| HSL | hsl(0, 66%, 21%) |
| HSV | hsv(0, 80%, 35%) |
| CMYK | cmyk(0%, 79.5%, 79.5%, 65.5%) |
| CIE-LAB | lab(18.15, 31.65, 19.34) |
| CIE-LCH | lch(18.15, 37.10, 31.43°) |
| OKLab | oklab(30.66% 0.0918 0.0439) |
| OKLCH | oklch(30.66% 0.102 25.5) |
| XYZ | xyz(4.3505, 2.5517, 0.8356) |
| Luminance | 0.0255 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 3.60
Mahogany
#4A0100
ΔE00 3.76
Rosewood
#65000B
ΔE00 3.77
Claret
#680018
ΔE00 4.99
Deep Brown
#410200
ΔE00 5.41
Reddy Brown
#6E1005
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#581212 #125858
analogous
#581235 #581212 #583512
triadic
#581212 #125812 #121258
tetradic
#581212 #355812 #125858 #351258
square
#581212 #355812 #125858 #351258
split-complementary
#581212 #125835 #123558
monochromatic
#190505 #250808 #581212 #8B1C1C #BE2727
Accessibility & contrast
On white
13.91
#581212 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#581212 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #581212
13.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##581212 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##581212 | 1.00 | 13.91 | 1.51 | 13.91 |
| #FFFFFF | 13.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#272311
Deuteranopia (green-blind)
#38320F
Tritanopia (blue-blind)
#620013
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #581212; /* rgb */ color: rgb(88, 18, 18); /* oklch */ color: oklch(30.7% 0.102 25.5);
Tailwind
colors: {
custom: {
50: '#8e5650',
500: '#581212',
950: '#000000',
},
}SCSS
$custom: #581212; $custom-light: #8e5650; $custom-dark: #000000;
JSON
{
"hex": "#581212",
"rgb": {
"r": 88,
"g": 18,
"b": 18
},
"hsl": {
"h": 0,
"s": 66.038,
"l": 20.784
},
"oklch": {
"l": 0.30662,
"c": 0.10171,
"h": 25.5
},
"luminance": 0.02551
}Semantic roles & 50–950 ramp
primary
#581212
secondary
#359191
accent
#E9E93F
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0D0302
muted
#7E7878