#5B1018#5B1018
#5B1018 is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.2% C 0.106 H 20.6°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).
Color values
| HEX | #5B1018 |
|---|---|
| RGB | rgb(91, 16, 24) |
| HSL | hsl(354, 70%, 21%) |
| HSV | hsv(354, 82%, 36%) |
| CMYK | cmyk(0%, 82.4%, 73.6%, 64.3%) |
| CIE-LAB | lab(18.63, 33.79, 16.06) |
| CIE-LCH | lch(18.63, 37.41, 25.43°) |
| OKLab | oklab(31.17% 0.0996 0.0375) |
| OKLCH | oklch(31.17% 0.106 20.6) |
| XYZ | xyz(4.6651, 2.6614, 1.1320) |
| Luminance | 0.0266 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 3.27
Dried Blood
#4B0101
ΔE00 4.61
Rosewood
#65000B
ΔE00 4.61
Mahogany
#4A0100
ΔE00 4.81
Maroon (survey)
#650021
ΔE00 5.07
Deep Brown
#410200
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B1018 #105B53
analogous
#5B103D #5B1018 #5B2D10
triadic
#5B1018 #185B10 #10185B
tetradic
#5B1018 #3D5B10 #105B53 #2D105B
square
#5B1018 #3D5B10 #105B53 #2D105B
split-complementary
#5B1018 #105B2D #103D5B
monochromatic
#1A0507 #27070A #5B1018 #8F1926 #C32233
Accessibility & contrast
On white
13.71
#5B1018 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#5B1018 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B1018
13.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B1018 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B1018 | 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)
#262318
Deuteranopia (green-blind)
#393316
Tritanopia (blue-blind)
#650014
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #5b1018; /* rgb */ color: rgb(91, 16, 24); /* oklch */ color: oklch(31.2% 0.106 20.6);
Tailwind
colors: {
custom: {
50: '#905654',
500: '#5b1018',
950: '#000000',
},
}SCSS
$custom: #5b1018; $custom-light: #905654; $custom-dark: #000000;
JSON
{
"hex": "#5b1018",
"rgb": {
"r": 91,
"g": 16,
"b": 24
},
"hsl": {
"h": 353.6,
"s": 70.093,
"l": 20.98
},
"oklch": {
"l": 0.31171,
"c": 0.10642,
"h": 20.6
},
"luminance": 0.02661
}Semantic roles & 50–950 ramp
primary
#5B1018
secondary
#33948A
accent
#EDDA3B
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878