#5A1121#5A1121
#5A1121 is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.3% C 0.104 H 13.4°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).
Color values
| HEX | #5A1121 |
|---|---|
| RGB | rgb(90, 17, 33) |
| HSL | hsl(347, 68%, 21%) |
| HSV | hsv(347, 81%, 35%) |
| CMYK | cmyk(0%, 81.1%, 63.3%, 64.7%) |
| CIE-LAB | lab(18.74, 33.70, 9.81) |
| CIE-LCH | lch(18.74, 35.09, 16.23°) |
| OKLab | oklab(31.27% 0.1015 0.0242) |
| OKLCH | oklch(31.27% 0.104 13.4) |
| XYZ | xyz(4.6919, 2.6850, 1.7098) |
| Luminance | 0.0268 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy (survey)
#610023
ΔE00 3.08
Maroon (survey)
#650021
ΔE00 3.08
Claret
#680018
ΔE00 5.18
Bordeaux
#7B002C
ΔE00 6.75
Dark Maroon
#3C0008
ΔE00 6.85
Wine Red
#7B0323
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A1121 #115A4A
analogous
#5A1145 #5A1121 #5A2511
triadic
#5A1121 #215A11 #11215A
tetradic
#5A1121 #455A11 #115A4A #25115A
square
#5A1121 #455A11 #115A4A #25115A
split-complementary
#5A1121 #115A25 #11455A
monochromatic
#1A0509 #27070E #5A1121 #8D1B34 #C12447
Accessibility & contrast
On white
13.66
#5A1121 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#5A1121 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A1121
13.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A1121 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A1121 | 1.00 | 13.66 | 1.54 | 13.66 |
| #FFFFFF | 13.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#252421
Deuteranopia (green-blind)
#38331F
Tritanopia (blue-blind)
#630018
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #5a1121; /* rgb */ color: rgb(90, 17, 33); /* oklch */ color: oklch(31.3% 0.104 13.4);
Tailwind
colors: {
custom: {
50: '#8e565b',
500: '#5a1121',
950: '#000000',
},
}SCSS
$custom: #5a1121; $custom-light: #8e565b; $custom-dark: #000000;
JSON
{
"hex": "#5a1121",
"rgb": {
"r": 90,
"g": 17,
"b": 33
},
"hsl": {
"h": 346.849,
"s": 68.224,
"l": 20.98
},
"oklch": {
"l": 0.31268,
"c": 0.10433,
"h": 13.4
},
"luminance": 0.02684
}Semantic roles & 50–950 ramp
primary
#5A1121
secondary
#34937E
accent
#EBC53D
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0304
muted
#7E7879