#5A1222#5A1222
#5A1222 is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.4% C 0.103 H 12.9°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).
Color values
| HEX | #5A1222 |
|---|---|
| RGB | rgb(90, 18, 34) |
| HSL | hsl(347, 67%, 21%) |
| HSV | hsv(347, 80%, 35%) |
| CMYK | cmyk(0%, 80%, 62.2%, 64.7%) |
| CIE-LAB | lab(18.90, 33.39, 9.31) |
| CIE-LCH | lch(18.90, 34.67, 15.58°) |
| OKLab | oklab(31.4% 0.1007 0.0231) |
| OKLCH | oklch(31.4% 0.103 12.9) |
| XYZ | xyz(4.7220, 2.7224, 1.7899) |
| Luminance | 0.0272 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy (survey)
#610023
ΔE00 3.06
Maroon (survey)
#650021
ΔE00 3.19
Claret
#680018
ΔE00 5.45
Bordeaux
#7B002C
ΔE00 6.76
Dark Maroon
#3C0008
ΔE00 6.97
Wine Red
#7B0323
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A1222 #125A4A
analogous
#5A1246 #5A1222 #5A2612
triadic
#5A1222 #225A12 #12225A
tetradic
#5A1222 #465A12 #125A4A #26125A
square
#5A1222 #465A12 #125A4A #26125A
split-complementary
#5A1222 #125A26 #12465A
monochromatic
#1A050A #27080F #5A1222 #8D1C35 #C02649
Accessibility & contrast
On white
13.60
#5A1222 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#5A1222 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A1222
13.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A1222 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A1222 | 1.00 | 13.60 | 1.54 | 13.60 |
| #FFFFFF | 13.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#252422
Deuteranopia (green-blind)
#383320
Tritanopia (blue-blind)
#630019
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #5a1222; /* rgb */ color: rgb(90, 18, 34); /* oklch */ color: oklch(31.4% 0.103 12.9);
Tailwind
colors: {
custom: {
50: '#8e575c',
500: '#5a1222',
950: '#000000',
},
}SCSS
$custom: #5a1222; $custom-light: #8e575c; $custom-dark: #000000;
JSON
{
"hex": "#5a1222",
"rgb": {
"r": 90,
"g": 18,
"b": 34
},
"hsl": {
"h": 346.667,
"s": 66.667,
"l": 21.176
},
"oklch": {
"l": 0.31395,
"c": 0.10332,
"h": 12.9
},
"luminance": 0.02722
}Semantic roles & 50–950 ramp
primary
#5A1222
secondary
#35937E
accent
#EAC43E
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0304
muted
#7E7879