#5B1121#5B1121
#5B1121 is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.5% C 0.105 H 13.7°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).
Color values
| HEX | #5B1121 |
|---|---|
| RGB | rgb(91, 17, 33) |
| HSL | hsl(347, 69%, 21%) |
| HSV | hsv(347, 81%, 36%) |
| CMYK | cmyk(0%, 81.3%, 63.7%, 64.3%) |
| CIE-LAB | lab(18.95, 34.03, 10.13) |
| CIE-LCH | lch(18.95, 35.51, 16.58°) |
| OKLab | oklab(31.47% 0.1024 0.025) |
| OKLCH | oklch(31.47% 0.105 13.7) |
| XYZ | xyz(4.7898, 2.7355, 1.7143) |
| Luminance | 0.0273 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Maroon (survey)
#650021
ΔE00 2.93
Burgundy (survey)
#610023
ΔE00 3.06
Claret
#680018
ΔE00 4.94
Bordeaux
#7B002C
ΔE00 6.57
Wine Red
#7B0323
ΔE00 6.89
Dark Maroon
#3C0008
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B1121 #115B4B
analogous
#5B1146 #5B1121 #5B2611
triadic
#5B1121 #215B11 #11215B
tetradic
#5B1121 #465B11 #115B4B #26115B
square
#5B1121 #465B11 #115B4B #26115B
split-complementary
#5B1121 #115B26 #11465B
monochromatic
#1A0509 #27070E #5B1121 #8F1B34 #C22446
Accessibility & contrast
On white
13.57
#5B1121 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#5B1121 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B1121
13.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B1121 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B1121 | 1.00 | 13.57 | 1.55 | 13.57 |
| #FFFFFF | 13.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#252421
Deuteranopia (green-blind)
#38341F
Tritanopia (blue-blind)
#640018
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #5b1121; /* rgb */ color: rgb(91, 17, 33); /* oklch */ color: oklch(31.5% 0.105 13.7);
Tailwind
colors: {
custom: {
50: '#8f575b',
500: '#5b1121',
950: '#000000',
},
}SCSS
$custom: #5b1121; $custom-light: #8f575b; $custom-dark: #000000;
JSON
{
"hex": "#5b1121",
"rgb": {
"r": 91,
"g": 17,
"b": 33
},
"hsl": {
"h": 347.027,
"s": 68.519,
"l": 21.176
},
"oklch": {
"l": 0.31468,
"c": 0.10542,
"h": 13.7
},
"luminance": 0.02735
}Semantic roles & 50–950 ramp
primary
#5B1121
secondary
#34947F
accent
#EBC63C
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0304
muted
#7E7879