#5B181F#5B181F
#5B181F is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.2% C 0.097 H 18.7°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).
Color values
| HEX | #5B181F |
|---|---|
| RGB | rgb(91, 24, 31) |
| HSL | hsl(354, 58%, 23%) |
| HSV | hsv(354, 74%, 36%) |
| CMYK | cmyk(0%, 73.6%, 65.9%, 64.3%) |
| CIE-LAB | lab(19.95, 30.98, 12.86) |
| CIE-LCH | lch(19.95, 33.55, 22.55°) |
| OKLab | oklab(32.2% 0.0923 0.0312) |
| OKLCH | oklch(32.2% 0.097 18.7) |
| XYZ | xyz(4.8888, 2.9770, 1.6132) |
| Luminance | 0.0298 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 4.52
Maroon (survey)
#650021
ΔE00 4.79
Burgundy (survey)
#610023
ΔE00 5.50
Dried Blood
#4B0101
ΔE00 6.22
Mahogany
#4A0100
ΔE00 6.39
Rosewood
#65000B
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B181F #185B54
analogous
#5B1841 #5B181F #5B3218
triadic
#5B181F #1F5B18 #181F5B
tetradic
#5B181F #415B18 #185B54 #32185B
square
#5B181F #415B18 #185B54 #32185B
split-complementary
#5B181F #185B32 #18415B
monochromatic
#180608 #2B0B0F #5B181F #8B252F #BC3240
Accessibility & contrast
On white
13.16
#5B181F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#5B181F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B181F
13.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B181F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B181F | 1.00 | 13.16 | 1.60 | 13.16 |
| #FFFFFF | 13.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A271F
Deuteranopia (green-blind)
#3B351D
Tritanopia (blue-blind)
#64081B
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5b181f; /* rgb */ color: rgb(91, 24, 31); /* oklch */ color: oklch(32.2% 0.097 18.7);
Tailwind
colors: {
custom: {
50: '#8e5a5a',
500: '#5b181f',
950: '#000000',
},
}SCSS
$custom: #5b181f; $custom-light: #8e5a5a; $custom-dark: #000000;
JSON
{
"hex": "#5b181f",
"rgb": {
"r": 91,
"g": 24,
"b": 31
},
"hsl": {
"h": 353.731,
"s": 58.261,
"l": 22.549
},
"oklch": {
"l": 0.32196,
"c": 0.09738,
"h": 18.7
},
"luminance": 0.02976
}Semantic roles & 50–950 ramp
primary
#5B181F
secondary
#3D9289
accent
#E1D146
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0403
muted
#7E7978