#5A181A#5A181A
#5A181A is a dark, moderate red. Relative luminance 0.029; OKLCH L 31.9% C 0.097 H 22.9°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).
Color values
| HEX | #5A181A |
|---|---|
| RGB | rgb(90, 24, 26) |
| HSL | hsl(358, 58%, 22%) |
| HSV | hsv(358, 73%, 35%) |
| CMYK | cmyk(0%, 73.3%, 71.1%, 64.7%) |
| CIE-LAB | lab(19.65, 30.26, 15.89) |
| CIE-LCH | lch(19.65, 34.18, 27.71°) |
| OKLab | oklab(31.9% 0.089 0.0375) |
| OKLCH | oklch(31.9% 0.097 22.9) |
| XYZ | xyz(4.7300, 2.9022, 1.2882) |
| Luminance | 0.0290 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 4.63
Dried Blood
#4B0101
ΔE00 5.03
Rosewood
#65000B
ΔE00 5.13
Mahogany
#4A0100
ΔE00 5.19
Deep Brown
#410200
ΔE00 6.17
Maroon (survey)
#650021
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A181A #185A58
analogous
#5A183B #5A181A #5A3718
triadic
#5A181A #1A5A18 #181A5A
tetradic
#5A181A #3B5A18 #185A58 #37185A
square
#5A181A #3B5A18 #185A58 #37185A
split-complementary
#5A181A #185A37 #183B5A
monochromatic
#180607 #2A0B0C #5A181A #8A2528 #BB3236
Accessibility & contrast
On white
13.29
#5A181A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#5A181A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A181A
13.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A181A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A181A | 1.00 | 13.29 | 1.58 | 13.29 |
| #FFFFFF | 13.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A271A
Deuteranopia (green-blind)
#3B3518
Tritanopia (blue-blind)
#630719
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5a181a; /* rgb */ color: rgb(90, 24, 26); /* oklch */ color: oklch(31.9% 0.097 22.9);
Tailwind
colors: {
custom: {
50: '#8e5a56',
500: '#5a181a',
950: '#000000',
},
}SCSS
$custom: #5a181a; $custom-light: #8e5a56; $custom-dark: #000000;
JSON
{
"hex": "#5a181a",
"rgb": {
"r": 90,
"g": 24,
"b": 26
},
"hsl": {
"h": 358.182,
"s": 57.895,
"l": 22.353
},
"oklch": {
"l": 0.31899,
"c": 0.09656,
"h": 22.9
},
"luminance": 0.02902
}Semantic roles & 50–950 ramp
primary
#5A181A
secondary
#3D918E
accent
#E1DC47
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0403
muted
#7E7978