#5B1827#5B1827
#5B1827 is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.4% C 0.098 H 11.2°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).
Color values
| HEX | #5B1827 |
|---|---|
| RGB | rgb(91, 24, 39) |
| HSL | hsl(347, 58%, 23%) |
| HSV | hsv(347, 74%, 36%) |
| CMYK | cmyk(0%, 73.6%, 57.1%, 64.3%) |
| CIE-LAB | lab(20.14, 31.66, 7.52) |
| CIE-LCH | lch(20.14, 32.54, 13.36°) |
| OKLab | oklab(32.4% 0.0959 0.0191) |
| OKLCH | oklch(32.4% 0.098 11.2) |
| XYZ | xyz(5.0077, 3.0246, 2.2392) |
| Luminance | 0.0302 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy (survey)
#610023
ΔE00 3.68
Maroon (survey)
#650021
ΔE00 4.09
Claret
#680018
ΔE00 6.58
Wine
#722F37
ΔE00 6.74
Bordeaux
#7B002C
ΔE00 6.92
Merlot
#730039
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B1827 #185B4C
analogous
#5B1849 #5B1827 #5B2A18
triadic
#5B1827 #275B18 #18275B
tetradic
#5B1827 #495B18 #185B4C #2A185B
square
#5B1827 #495B18 #185B4C #2A185B
split-complementary
#5B1827 #185B2A #18495B
monochromatic
#18060A #2B0B12 #5B1827 #8B253C #BC3251
Accessibility & contrast
On white
13.09
#5B1827 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#5B1827 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B1827
13.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B1827 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B1827 | 1.00 | 13.09 | 1.60 | 13.09 |
| #FFFFFF | 13.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#282827
Deuteranopia (green-blind)
#3A3625
Tritanopia (blue-blind)
#640B1E
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #5b1827; /* rgb */ color: rgb(91, 24, 39); /* oklch */ color: oklch(32.4% 0.098 11.2);
Tailwind
colors: {
custom: {
50: '#8e5a60',
500: '#5b1827',
950: '#000000',
},
}SCSS
$custom: #5b1827; $custom-light: #8e5a60; $custom-dark: #000000;
JSON
{
"hex": "#5b1827",
"rgb": {
"r": 91,
"g": 24,
"b": 39
},
"hsl": {
"h": 346.567,
"s": 58.261,
"l": 22.549
},
"oklch": {
"l": 0.324,
"c": 0.09773,
"h": 11.2
},
"luminance": 0.03024
}Semantic roles & 50–950 ramp
primary
#5B1827
secondary
#3D927F
accent
#E1BF46
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0405
muted
#7E7979