#5B1812#5B1812
#5B1812 is a dark, moderate red. Relative luminance 0.029; OKLCH L 32.0% C 0.099 H 28.9°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).
Color values
| HEX | #5B1812 |
|---|---|
| RGB | rgb(91, 24, 18) |
| HSL | hsl(5, 67%, 21%) |
| HSV | hsv(5, 80%, 36%) |
| CMYK | cmyk(0%, 73.6%, 80.2%, 64.3%) |
| CIE-LAB | lab(19.73, 30.18, 21.34) |
| CIE-LCH | lch(19.73, 36.96, 35.26°) |
| OKLab | oklab(31.96% 0.0867 0.0479) |
| OKLCH | oklch(31.96% 0.099 28.9) |
| XYZ | xyz(4.7507, 2.9218, 0.8860) |
| Luminance | 0.0292 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rosewood
#65000B
ΔE00 4.23
Dried Blood
#4B0101
ΔE00 5.09
Mahogany
#4A0100
ΔE00 5.19
Reddy Brown
#6E1005
ΔE00 5.36
Claret
#680018
ΔE00 6.37
Deep Brown
#410200
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B1812 #12555B
analogous
#5B1231 #5B1812 #5B3D12
triadic
#5B1812 #125B18 #18125B
tetradic
#5B1812 #315B12 #12555B #3D125B
square
#5B1812 #315B12 #12555B #3D125B
split-complementary
#5B1812 #125B3D #12315B
monochromatic
#1A0705 #280B08 #5B1812 #8E251C #C13326
Accessibility & contrast
On white
13.26
#5B1812 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#5B1812 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B1812
13.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B1812 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B1812 | 1.00 | 13.26 | 1.58 | 13.26 |
| #FFFFFF | 13.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B2611
Deuteranopia (green-blind)
#3C3510
Tritanopia (blue-blind)
#650417
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5b1812; /* rgb */ color: rgb(91, 24, 18); /* oklch */ color: oklch(32.0% 0.099 28.9);
Tailwind
colors: {
custom: {
50: '#905a50',
500: '#5b1812',
950: '#000000',
},
}SCSS
$custom: #5b1812; $custom-light: #905a50; $custom-dark: #000000;
JSON
{
"hex": "#5b1812",
"rgb": {
"r": 91,
"g": 24,
"b": 18
},
"hsl": {
"h": 4.932,
"s": 66.972,
"l": 21.373
},
"oklch": {
"l": 0.31957,
"c": 0.09906,
"h": 28.9
},
"luminance": 0.02921
}Semantic roles & 50–950 ramp
primary
#5B1812
secondary
#358C93
accent
#DCEA3E
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978