#5B170E#5B170E
#5B170E is a dark, moderate red. Relative luminance 0.029; OKLCH L 31.8% C 0.101 H 30.8°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).
Color values
| HEX | #5B170E |
|---|---|
| RGB | rgb(91, 23, 14) |
| HSL | hsl(7, 73%, 21%) |
| HSV | hsv(7, 85%, 36%) |
| CMYK | cmyk(0%, 74.7%, 84.6%, 64.3%) |
| CIE-LAB | lab(19.51, 30.46, 23.32) |
| CIE-LCH | lch(19.51, 38.36, 37.44°) |
| OKLab | oklab(31.78% 0.0867 0.0516) |
| OKLCH | oklch(31.78% 0.101 30.8) |
| XYZ | xyz(4.7006, 2.8694, 0.7217) |
| Luminance | 0.0287 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rosewood
#65000B
ΔE00 4.45
Reddy Brown
#6E1005
ΔE00 4.70
Dried Blood
#4B0101
ΔE00 5.44
Mahogany
#4A0100
ΔE00 5.52
Blood
#770001
ΔE00 6.64
Claret
#680018
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B170E #0E525B
analogous
#5B0E2B #5B170E #5B3D0E
triadic
#5B170E #0E5B17 #170E5B
tetradic
#5B170E #2B5B0E #0E525B #3D0E5B
square
#5B170E #2B5B0E #0E525B #3D0E5B
split-complementary
#5B170E #0E5B3D #0E2B5B
monochromatic
#1B0704 #260A06 #5B170E #902416 #C5321E
Accessibility & contrast
On white
13.34
#5B170E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#5B170E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B170E
13.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B170E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B170E | 1.00 | 13.34 | 1.57 | 13.34 |
| #FFFFFF | 13.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B260C
Deuteranopia (green-blind)
#3C350B
Tritanopia (blue-blind)
#650115
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #5b170e; /* rgb */ color: rgb(91, 23, 14); /* oklch */ color: oklch(31.8% 0.101 30.8);
Tailwind
colors: {
custom: {
50: '#90594d',
500: '#5b170e',
950: '#000000',
},
}SCSS
$custom: #5b170e; $custom-light: #90594d; $custom-dark: #000000;
JSON
{
"hex": "#5b170e",
"rgb": {
"r": 91,
"g": 23,
"b": 14
},
"hsl": {
"h": 7.013,
"s": 73.333,
"l": 20.588
},
"oklch": {
"l": 0.3178,
"c": 0.10087,
"h": 30.8
},
"luminance": 0.02869
}Semantic roles & 50–950 ramp
primary
#5B170E
secondary
#308995
accent
#DAF038
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977