#5A181B#5A181B
#5A181B is a dark, moderate red. Relative luminance 0.029; OKLCH L 31.9% C 0.096 H 22.0°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).
Color values
| HEX | #5A181B |
|---|---|
| RGB | rgb(90, 24, 27) |
| HSL | hsl(357, 58%, 22%) |
| HSV | hsv(357, 73%, 35%) |
| CMYK | cmyk(0%, 73.3%, 70%, 64.7%) |
| CIE-LAB | lab(19.67, 30.33, 15.23) |
| CIE-LCH | lch(19.67, 33.93, 26.66°) |
| OKLab | oklab(31.92% 0.0894 0.0362) |
| OKLCH | oklch(31.92% 0.096 22) |
| XYZ | xyz(4.7414, 2.9067, 1.3481) |
| Luminance | 0.0291 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 4.55
Dried Blood
#4B0101
ΔE00 5.21
Mahogany
#4A0100
ΔE00 5.37
Rosewood
#65000B
ΔE00 5.40
Maroon (survey)
#650021
ΔE00 6.05
Deep Brown
#410200
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A181B #185A57
analogous
#5A183C #5A181B #5A3618
triadic
#5A181B #1B5A18 #181B5A
tetradic
#5A181B #3C5A18 #185A57 #36185A
square
#5A181B #3C5A18 #185A57 #36185A
split-complementary
#5A181B #185A36 #183C5A
monochromatic
#180607 #2A0B0D #5A181B #8A2529 #BB3238
Accessibility & contrast
On white
13.28
#5A181B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#5A181B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A181B
13.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A181B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A181B | 1.00 | 13.28 | 1.58 | 13.28 |
| #FFFFFF | 13.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A271B
Deuteranopia (green-blind)
#3A3519
Tritanopia (blue-blind)
#63071A
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5a181b; /* rgb */ color: rgb(90, 24, 27); /* oklch */ color: oklch(31.9% 0.096 22.0);
Tailwind
colors: {
custom: {
50: '#8e5a57',
500: '#5a181b',
950: '#000000',
},
}SCSS
$custom: #5a181b; $custom-light: #8e5a57; $custom-dark: #000000;
JSON
{
"hex": "#5a181b",
"rgb": {
"r": 90,
"g": 24,
"b": 27
},
"hsl": {
"h": 357.273,
"s": 57.895,
"l": 22.353
},
"oklch": {
"l": 0.31919,
"c": 0.09646,
"h": 22
},
"luminance": 0.02906
}Semantic roles & 50–950 ramp
primary
#5A181B
secondary
#3D918D
accent
#E1DA47
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0403
muted
#7E7978