#5A121E#5A121E
#5A121E is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.3% C 0.103 H 16.4°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).
Color values
| HEX | #5A121E |
|---|---|
| RGB | rgb(90, 18, 30) |
| HSL | hsl(350, 67%, 21%) |
| HSV | hsv(350, 80%, 35%) |
| CMYK | cmyk(0%, 80%, 66.7%, 64.7%) |
| CIE-LAB | lab(18.80, 33.09, 12.02) |
| CIE-LCH | lch(18.80, 35.20, 19.97°) |
| OKLab | oklab(31.3% 0.0989 0.0292) |
| OKLCH | oklch(31.3% 0.103 16.4) |
| XYZ | xyz(4.6676, 2.7007, 1.5036) |
| Luminance | 0.0270 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Maroon (survey)
#650021
ΔE00 3.64
Burgundy (survey)
#610023
ΔE00 4.20
Claret
#680018
ΔE00 4.28
Dried Blood
#4B0101
ΔE00 6.27
Mahogany
#4A0100
ΔE00 6.44
Dark Maroon
#3C0008
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A121E #125A4E
analogous
#5A1242 #5A121E #5A2A12
triadic
#5A121E #1E5A12 #121E5A
tetradic
#5A121E #425A12 #125A4E #2A125A
square
#5A121E #425A12 #125A4E #2A125A
split-complementary
#5A121E #125A2A #12425A
monochromatic
#1A0508 #27080D #5A121E #8D1C2F #C02640
Accessibility & contrast
On white
13.64
#5A121E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#5A121E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A121E
13.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A121E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A121E | 1.00 | 13.64 | 1.54 | 13.64 |
| #FFFFFF | 13.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26241E
Deuteranopia (green-blind)
#38331C
Tritanopia (blue-blind)
#630017
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #5a121e; /* rgb */ color: rgb(90, 18, 30); /* oklch */ color: oklch(31.3% 0.103 16.4);
Tailwind
colors: {
custom: {
50: '#8e5759',
500: '#5a121e',
950: '#000000',
},
}SCSS
$custom: #5a121e; $custom-light: #8e5759; $custom-dark: #000000;
JSON
{
"hex": "#5a121e",
"rgb": {
"r": 90,
"g": 18,
"b": 30
},
"hsl": {
"h": 350,
"s": 66.667,
"l": 21.176
},
"oklch": {
"l": 0.31296,
"c": 0.10312,
"h": 16.4
},
"luminance": 0.027
}Semantic roles & 50–950 ramp
primary
#5A121E
secondary
#359383
accent
#EACD3E
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0303
muted
#7E7878