#581F12#581F12
#581F12 is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.4% C 0.088 H 34.3°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).
Color values
| HEX | #581F12 |
|---|---|
| RGB | rgb(88, 31, 18) |
| HSL | hsl(11, 66%, 21%) |
| HSV | hsv(11, 80%, 35%) |
| CMYK | cmyk(0%, 64.8%, 79.5%, 65.5%) |
| CIE-LAB | lab(20.44, 25.48, 21.98) |
| CIE-LCH | lch(20.44, 33.65, 40.78°) |
| OKLab | oklab(32.38% 0.0724 0.0494) |
| OKLCH | oklch(32.38% 0.088 34.3) |
| XYZ | xyz(4.6241, 3.0990, 0.9268) |
| Luminance | 0.0310 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddy Brown
#6E1005
ΔE00 6.14
Chocolate Brown
#411900
ΔE00 6.31
Rosewood
#65000B
ΔE00 6.83
Dried Blood
#4B0101
ΔE00 7.01
Mahogany
#4A0100
ΔE00 7.03
Blood
#770001
ΔE00 8.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#581F12 #124B58
analogous
#581228 #581F12 #584212
triadic
#581F12 #12581F #1F1258
tetradic
#581F12 #285812 #124B58 #421258
square
#581F12 #285812 #124B58 #421258
split-complementary
#581F12 #125842 #122858
monochromatic
#190905 #250D08 #581F12 #8B311C #BE4327
Accessibility & contrast
On white
12.97
#581F12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#581F12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #581F12
12.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##581F12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##581F12 | 1.00 | 12.97 | 1.62 | 12.97 |
| #FFFFFF | 12.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F2910
Deuteranopia (green-blind)
#3D3610
Tritanopia (blue-blind)
#61121C
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #581f12; /* rgb */ color: rgb(88, 31, 18); /* oklch */ color: oklch(32.4% 0.088 34.3);
Tailwind
colors: {
custom: {
50: '#8d5d50',
500: '#581f12',
950: '#000000',
},
}SCSS
$custom: #581f12; $custom-light: #8d5d50; $custom-dark: #000000;
JSON
{
"hex": "#581f12",
"rgb": {
"r": 88,
"g": 31,
"b": 18
},
"hsl": {
"h": 11.143,
"s": 66.038,
"l": 20.784
},
"oklch": {
"l": 0.32377,
"c": 0.08767,
"h": 34.3
},
"luminance": 0.03098
}Semantic roles & 50–950 ramp
primary
#581F12
secondary
#358091
accent
#C9E93F
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0402
muted
#7E7978