#5B181B#5B181B
#5B181B is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.1% C 0.098 H 22.1°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).
Color values
| HEX | #5B181B |
|---|---|
| RGB | rgb(91, 24, 27) |
| HSL | hsl(357, 58%, 23%) |
| HSV | hsv(357, 74%, 36%) |
| CMYK | cmyk(0%, 73.6%, 70.3%, 64.3%) |
| CIE-LAB | lab(19.87, 30.70, 15.53) |
| CIE-LCH | lch(19.87, 34.40, 26.83°) |
| OKLab | oklab(32.11% 0.0905 0.0368) |
| OKLCH | oklch(32.11% 0.098 22.1) |
| XYZ | xyz(4.8393, 2.9572, 1.3527) |
| Luminance | 0.0296 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 4.39
Rosewood
#65000B
ΔE00 5.21
Dried Blood
#4B0101
ΔE00 5.26
Mahogany
#4A0100
ΔE00 5.43
Maroon (survey)
#650021
ΔE00 6.03
Deep Brown
#410200
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B181B #185B58
analogous
#5B183D #5B181B #5B3618
triadic
#5B181B #1B5B18 #181B5B
tetradic
#5B181B #3D5B18 #185B58 #36185B
square
#5B181B #3D5B18 #185B58 #36185B
split-complementary
#5B181B #185B36 #183D5B
monochromatic
#180607 #2B0B0D #5B181B #8B2529 #BC3238
Accessibility & contrast
On white
13.20
#5B181B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#5B181B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B181B
13.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B181B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B181B | 1.00 | 13.20 | 1.59 | 13.20 |
| #FFFFFF | 13.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A271B
Deuteranopia (green-blind)
#3B3519
Tritanopia (blue-blind)
#64061A
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5b181b; /* rgb */ color: rgb(91, 24, 27); /* oklch */ color: oklch(32.1% 0.098 22.1);
Tailwind
colors: {
custom: {
50: '#8f5a57',
500: '#5b181b',
950: '#000000',
},
}SCSS
$custom: #5b181b; $custom-light: #8f5a57; $custom-dark: #000000;
JSON
{
"hex": "#5b181b",
"rgb": {
"r": 91,
"g": 24,
"b": 27
},
"hsl": {
"h": 357.313,
"s": 58.261,
"l": 22.549
},
"oklch": {
"l": 0.32111,
"c": 0.09766,
"h": 22.1
},
"luminance": 0.02957
}Semantic roles & 50–950 ramp
primary
#5B181B
secondary
#3D928E
accent
#E1DB46
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0403
muted
#7E7978