#5B170F#5B170F
#5B170F is a dark, moderate red. Relative luminance 0.029; OKLCH L 31.8% C 0.101 H 30.2°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).
Color values
| HEX | #5B170F |
|---|---|
| RGB | rgb(91, 23, 15) |
| HSL | hsl(6, 72%, 21%) |
| HSV | hsv(6, 84%, 36%) |
| CMYK | cmyk(0%, 74.7%, 83.5%, 64.3%) |
| CIE-LAB | lab(19.52, 30.50, 22.82) |
| CIE-LCH | lch(19.52, 38.09, 36.80°) |
| OKLab | oklab(31.79% 0.087 0.0506) |
| OKLCH | oklch(31.79% 0.101 30.2) |
| XYZ | xyz(4.7075, 2.8721, 0.7583) |
| Luminance | 0.0287 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rosewood
#65000B
ΔE00 4.31
Reddy Brown
#6E1005
ΔE00 4.84
Dried Blood
#4B0101
ΔE00 5.28
Mahogany
#4A0100
ΔE00 5.37
Blood
#770001
ΔE00 6.73
Claret
#680018
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B170F #0F535B
analogous
#5B0F2D #5B170F #5B3D0F
triadic
#5B170F #0F5B17 #170F5B
tetradic
#5B170F #2D5B0F #0F535B #3D0F5B
square
#5B170F #2D5B0F #0F535B #3D0F5B
split-complementary
#5B170F #0F5B3D #0F2D5B
monochromatic
#1A0704 #260A06 #5B170F #902418 #C43220
Accessibility & contrast
On white
13.34
#5B170F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#5B170F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B170F
13.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B170F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B170F | 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)
#2B260E
Deuteranopia (green-blind)
#3C350C
Tritanopia (blue-blind)
#650216
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #5b170f; /* rgb */ color: rgb(91, 23, 15); /* oklch */ color: oklch(31.8% 0.101 30.2);
Tailwind
colors: {
custom: {
50: '#90594e',
500: '#5b170f',
950: '#000000',
},
}SCSS
$custom: #5b170f; $custom-light: #90594e; $custom-dark: #000000;
JSON
{
"hex": "#5b170f",
"rgb": {
"r": 91,
"g": 23,
"b": 15
},
"hsl": {
"h": 6.316,
"s": 71.698,
"l": 20.784
},
"oklch": {
"l": 0.31792,
"c": 0.10068,
"h": 30.2
},
"luminance": 0.02871
}Semantic roles & 50–950 ramp
primary
#5B170F
secondary
#318A95
accent
#DBEE39
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977