#5B2012#5B2012
#5B2012 is a dark, moderate red. Relative luminance 0.033; OKLCH L 33.1% C 0.090 H 34.7°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).
Color values
| HEX | #5B2012 |
|---|---|
| RGB | rgb(91, 32, 18) |
| HSL | hsl(12, 67%, 21%) |
| HSV | hsv(12, 80%, 36%) |
| CMYK | cmyk(0%, 64.8%, 80.2%, 64.3%) |
| CIE-LAB | lab(21.21, 26.20, 23.00) |
| CIE-LCH | lch(21.21, 34.86, 41.27°) |
| OKLab | oklab(33.07% 0.0743 0.0514) |
| OKLCH | oklch(33.07% 0.09 34.7) |
| XYZ | xyz(4.9406, 3.3015, 0.9492) |
| Luminance | 0.0330 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddy Brown
#6E1005
ΔE00 5.62
Chocolate Brown
#411900
ΔE00 6.75
Rosewood
#65000B
ΔE00 6.79
Dried Blood
#4B0101
ΔE00 7.49
Mahogany
#4A0100
ΔE00 7.52
Blood
#770001
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B2012 #124D5B
analogous
#5B1229 #5B2012 #5B4512
triadic
#5B2012 #125B20 #20125B
tetradic
#5B2012 #295B12 #124D5B #45125B
square
#5B2012 #295B12 #124D5B #45125B
split-complementary
#5B2012 #125B45 #12295B
monochromatic
#1A0905 #280E08 #5B2012 #8E321C #C14426
Accessibility & contrast
On white
12.65
#5B2012 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#5B2012 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B2012
12.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B2012 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B2012 | 1.00 | 12.65 | 1.66 | 12.65 |
| #FFFFFF | 12.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#302B10
Deuteranopia (green-blind)
#3F3810
Tritanopia (blue-blind)
#65121D
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #5b2012; /* rgb */ color: rgb(91, 32, 18); /* oklch */ color: oklch(33.1% 0.090 34.7);
Tailwind
colors: {
custom: {
50: '#8f5e50',
500: '#5b2012',
950: '#000000',
},
}SCSS
$custom: #5b2012; $custom-light: #8f5e50; $custom-dark: #000000;
JSON
{
"hex": "#5b2012",
"rgb": {
"r": 91,
"g": 32,
"b": 18
},
"hsl": {
"h": 11.507,
"s": 66.972,
"l": 21.373
},
"oklch": {
"l": 0.33074,
"c": 0.09035,
"h": 34.7
},
"luminance": 0.03301
}Semantic roles & 50–950 ramp
primary
#5B2012
secondary
#358193
accent
#C9EA3E
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0D0402
muted
#7E7978