#5B1017#5B1017
#5B1017 is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.2% C 0.106 H 21.4°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).
Color values
| HEX | #5B1017 |
|---|---|
| RGB | rgb(91, 16, 23) |
| HSL | hsl(354, 70%, 21%) |
| HSV | hsv(354, 82%, 36%) |
| CMYK | cmyk(0%, 82.4%, 74.7%, 64.3%) |
| CIE-LAB | lab(18.62, 33.73, 16.73) |
| CIE-LCH | lch(18.62, 37.65, 26.39°) |
| OKLab | oklab(31.15% 0.0992 0.0388) |
| OKLCH | oklch(31.15% 0.107 21.4) |
| XYZ | xyz(4.6549, 2.6573, 1.0783) |
| Luminance | 0.0266 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 3.33
Rosewood
#65000B
ΔE00 4.27
Dried Blood
#4B0101
ΔE00 4.38
Mahogany
#4A0100
ΔE00 4.59
Maroon (survey)
#650021
ΔE00 5.45
Deep Brown
#410200
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B1017 #105B54
analogous
#5B103C #5B1017 #5B2E10
triadic
#5B1017 #175B10 #10175B
tetradic
#5B1017 #3C5B10 #105B54 #2E105B
square
#5B1017 #3C5B10 #105B54 #2E105B
split-complementary
#5B1017 #105B2E #103C5B
monochromatic
#1A0507 #27070A #5B1017 #8F1924 #C32231
Accessibility & contrast
On white
13.71
#5B1017 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#5B1017 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B1017
13.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B1017 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B1017 | 1.00 | 13.71 | 1.53 | 13.71 |
| #FFFFFF | 13.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#262317
Deuteranopia (green-blind)
#393315
Tritanopia (blue-blind)
#650013
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #5b1017; /* rgb */ color: rgb(91, 16, 23); /* oklch */ color: oklch(31.2% 0.106 21.4);
Tailwind
colors: {
custom: {
50: '#905653',
500: '#5b1017',
950: '#000000',
},
}SCSS
$custom: #5b1017; $custom-light: #905653; $custom-dark: #000000;
JSON
{
"hex": "#5b1017",
"rgb": {
"r": 91,
"g": 16,
"b": 23
},
"hsl": {
"h": 354.4,
"s": 70.093,
"l": 20.98
},
"oklch": {
"l": 0.31152,
"c": 0.1065,
"h": 21.4
},
"luminance": 0.02657
}Semantic roles & 50–950 ramp
primary
#5B1017
secondary
#33948B
accent
#EDDC3B
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878