#5B1117#5B1117
#5B1117 is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.2% C 0.106 H 21.8°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).
Color values
| HEX | #5B1117 |
|---|---|
| RGB | rgb(91, 17, 23) |
| HSL | hsl(355, 69%, 21%) |
| HSV | hsv(355, 81%, 36%) |
| CMYK | cmyk(0%, 81.3%, 74.7%, 64.3%) |
| CIE-LAB | lab(18.75, 33.36, 16.89) |
| CIE-LCH | lch(18.75, 37.39, 26.86°) |
| OKLab | oklab(31.25% 0.098 0.0392) |
| OKLCH | oklch(31.25% 0.106 21.8) |
| XYZ | xyz(4.6700, 2.6876, 1.0833) |
| Luminance | 0.0269 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 3.48
Rosewood
#65000B
ΔE00 4.22
Dried Blood
#4B0101
ΔE00 4.38
Mahogany
#4A0100
ΔE00 4.58
Maroon (survey)
#650021
ΔE00 5.66
Deep Brown
#410200
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B1117 #115B55
analogous
#5B113C #5B1117 #5B3011
triadic
#5B1117 #175B11 #11175B
tetradic
#5B1117 #3C5B11 #115B55 #30115B
square
#5B1117 #3C5B11 #115B55 #30115B
split-complementary
#5B1117 #115B30 #113C5B
monochromatic
#1A0507 #27070A #5B1117 #8F1B24 #C22431
Accessibility & contrast
On white
13.66
#5B1117 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#5B1117 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B1117
13.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B1117 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B1117 | 1.00 | 13.66 | 1.54 | 13.66 |
| #FFFFFF | 13.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#272417
Deuteranopia (green-blind)
#393315
Tritanopia (blue-blind)
#650014
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #5b1117; /* rgb */ color: rgb(91, 17, 23); /* oklch */ color: oklch(31.2% 0.106 21.8);
Tailwind
colors: {
custom: {
50: '#905653',
500: '#5b1117',
950: '#000000',
},
}SCSS
$custom: #5b1117; $custom-light: #905653; $custom-dark: #000000;
JSON
{
"hex": "#5b1117",
"rgb": {
"r": 91,
"g": 17,
"b": 23
},
"hsl": {
"h": 355.135,
"s": 68.519,
"l": 21.176
},
"oklch": {
"l": 0.31249,
"c": 0.10554,
"h": 21.8
},
"luminance": 0.02687
}Semantic roles & 50–950 ramp
primary
#5B1117
secondary
#34948C
accent
#EBDD3C
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878