#5B2017#5B2017
#5B2017 is a dark, moderate red. Relative luminance 0.033; OKLCH L 33.1% C 0.089 H 31.0°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).
Color values
| HEX | #5B2017 |
|---|---|
| RGB | rgb(91, 32, 23) |
| HSL | hsl(8, 60%, 22%) |
| HSV | hsv(8, 75%, 36%) |
| CMYK | cmyk(0%, 64.8%, 74.7%, 64.3%) |
| CIE-LAB | lab(21.28, 26.48, 19.91) |
| CIE-LCH | lch(21.28, 33.13, 36.94°) |
| OKLab | oklab(33.15% 0.0763 0.0458) |
| OKLCH | oklch(33.15% 0.089 31) |
| XYZ | xyz(4.9861, 3.3197, 1.1887) |
| Luminance | 0.0332 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rosewood
#65000B
ΔE00 6.05
Reddy Brown
#6E1005
ΔE00 6.22
Dried Blood
#4B0101
ΔE00 6.62
Mahogany
#4A0100
ΔE00 6.69
Chocolate Brown
#411900
ΔE00 7.70
Claret
#680018
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B2017 #17525B
analogous
#5B1730 #5B2017 #5B4217
triadic
#5B2017 #175B20 #20175B
tetradic
#5B2017 #305B17 #17525B #42175B
square
#5B2017 #305B17 #17525B #42175B
split-complementary
#5B2017 #175B42 #17305B
monochromatic
#180906 #2A0F0B #5B2017 #8C3123 #BD4230
Accessibility & contrast
On white
12.62
#5B2017 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#5B2017 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B2017
12.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B2017 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B2017 | 1.00 | 12.62 | 1.66 | 12.62 |
| #FFFFFF | 12.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#302B16
Deuteranopia (green-blind)
#3E3815
Tritanopia (blue-blind)
#64131E
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #5b2017; /* rgb */ color: rgb(91, 32, 23); /* oklch */ color: oklch(33.1% 0.089 31.0);
Tailwind
colors: {
custom: {
50: '#8f5e54',
500: '#5b2017',
950: '#000000',
},
}SCSS
$custom: #5b2017; $custom-light: #8f5e54; $custom-dark: #000000;
JSON
{
"hex": "#5b2017",
"rgb": {
"r": 91,
"g": 32,
"b": 23
},
"hsl": {
"h": 7.941,
"s": 59.649,
"l": 22.353
},
"oklch": {
"l": 0.33148,
"c": 0.08899,
"h": 31
},
"luminance": 0.03319
}Semantic roles & 50–950 ramp
primary
#5B2017
secondary
#3C8692
accent
#CEE345
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0402
muted
#7E7978