#5B0F21#5B0F21
#5B0F21 is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.3% C 0.107 H 13.0°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).
Color values
| HEX | #5B0F21 |
|---|---|
| RGB | rgb(91, 15, 33) |
| HSL | hsl(346, 72%, 21%) |
| HSV | hsv(346, 84%, 36%) |
| CMYK | cmyk(0%, 83.5%, 63.7%, 64.3%) |
| CIE-LAB | lab(18.70, 34.74, 9.79) |
| CIE-LCH | lch(18.70, 36.10, 15.74°) |
| OKLab | oklab(31.28% 0.1047 0.0242) |
| OKLCH | oklch(31.28% 0.107 13) |
| XYZ | xyz(4.7602, 2.6763, 1.7045) |
| Luminance | 0.0268 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy (survey)
#610023
ΔE00 2.65
Maroon (survey)
#650021
ΔE00 2.68
Claret
#680018
ΔE00 5.07
Bordeaux
#7B002C
ΔE00 6.46
Wine Red
#7B0323
ΔE00 6.96
Dark Maroon
#3C0008
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B0F21 #0F5B49
analogous
#5B0F47 #5B0F21 #5B230F
triadic
#5B0F21 #215B0F #0F215B
tetradic
#5B0F21 #475B0F #0F5B49 #230F5B
square
#5B0F21 #475B0F #0F5B49 #230F5B
split-complementary
#5B0F21 #0F5B23 #0F475B
monochromatic
#1A040A #26060E #5B0F21 #901834 #C42047
Accessibility & contrast
On white
13.68
#5B0F21 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#5B0F21 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B0F21
13.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B0F21 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B0F21 | 1.00 | 13.68 | 1.54 | 13.68 |
| #FFFFFF | 13.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#242421
Deuteranopia (green-blind)
#38331F
Tritanopia (blue-blind)
#640017
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #5b0f21; /* rgb */ color: rgb(91, 15, 33); /* oklch */ color: oklch(31.3% 0.107 13.0);
Tailwind
colors: {
custom: {
50: '#8f565b',
500: '#5b0f21',
950: '#000000',
},
}SCSS
$custom: #5b0f21; $custom-light: #8f565b; $custom-dark: #000000;
JSON
{
"hex": "#5b0f21",
"rgb": {
"r": 91,
"g": 15,
"b": 33
},
"hsl": {
"h": 345.789,
"s": 71.698,
"l": 20.784
},
"oklch": {
"l": 0.3128,
"c": 0.10748,
"h": 13
},
"luminance": 0.02676
}Semantic roles & 50–950 ramp
primary
#5B0F21
secondary
#31957D
accent
#EEC439
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0304
muted
#7E7879