#5B2128#5B2128
#5B2128 is a dark, moderate red. Relative luminance 0.035; OKLCH L 33.7% C 0.085 H 15.6°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).
Color values
| HEX | #5B2128 |
|---|---|
| RGB | rgb(91, 33, 40) |
| HSL | hsl(353, 47%, 24%) |
| HSV | hsv(353, 64%, 36%) |
| CMYK | cmyk(0%, 63.7%, 56%, 64.3%) |
| CIE-LAB | lab(21.82, 27.30, 9.13) |
| CIE-LCH | lch(21.82, 28.79, 18.49°) |
| OKLab | oklab(33.66% 0.0822 0.023) |
| OKLCH | oklch(33.66% 0.085 15.6) |
| XYZ | xyz(5.2417, 3.4657, 2.4000) |
| Luminance | 0.0347 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine
#722F37
ΔE00 5.54
Maroon (survey)
#650021
ΔE00 5.96
Burgundy (survey)
#610023
ΔE00 6.11
Claret
#680018
ΔE00 6.91
Purple Brown
#673A3F
ΔE00 7.20
Bordeaux
#7B002C
ΔE00 8.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B2128 #215B54
analogous
#5B2145 #5B2128 #5B3721
triadic
#5B2128 #285B21 #21285B
tetradic
#5B2128 #455B21 #215B54 #37215B
square
#5B2128 #455B21 #215B54 #37215B
split-complementary
#5B2128 #215B37 #21455B
monochromatic
#16080A #2E1114 #5B2128 #88313C #B5424F
Accessibility & contrast
On white
12.40
#5B2128 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#5B2128 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B2128
12.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B2128 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B2128 | 1.00 | 12.40 | 1.69 | 12.40 |
| #FFFFFF | 12.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E2D28
Deuteranopia (green-blind)
#3D3927
Tritanopia (blue-blind)
#641824
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #5b2128; /* rgb */ color: rgb(91, 33, 40); /* oklch */ color: oklch(33.7% 0.085 15.6);
Tailwind
colors: {
custom: {
50: '#8d5f61',
500: '#5b2128',
950: '#000000',
},
}SCSS
$custom: #5b2128; $custom-light: #8d5f61; $custom-dark: #000000;
JSON
{
"hex": "#5b2128",
"rgb": {
"r": 91,
"g": 33,
"b": 40
},
"hsl": {
"h": 352.759,
"s": 46.774,
"l": 24.314
},
"oklch": {
"l": 0.33662,
"c": 0.08531,
"h": 15.6
},
"luminance": 0.03465
}Semantic roles & 50–950 ramp
primary
#5B2128
secondary
#498F87
accent
#D6C651
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0505
muted
#7E7979