#5A151A#5A151A
#5A151A is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.5% C 0.100 H 21.2°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).
Color values
| HEX | #5A151A |
|---|---|
| RGB | rgb(90, 21, 26) |
| HSL | hsl(356, 62%, 22%) |
| HSV | hsv(356, 77%, 35%) |
| CMYK | cmyk(0%, 76.7%, 71.1%, 64.7%) |
| CIE-LAB | lab(19.16, 31.59, 15.28) |
| CIE-LCH | lch(19.16, 35.09, 25.82°) |
| OKLab | oklab(31.54% 0.0932 0.0361) |
| OKLCH | oklch(31.54% 0.1 21.2) |
| XYZ | xyz(4.6716, 2.7853, 1.2687) |
| Luminance | 0.0278 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 4.05
Dried Blood
#4B0101
ΔE00 4.93
Mahogany
#4A0100
ΔE00 5.11
Rosewood
#65000B
ΔE00 5.18
Maroon (survey)
#650021
ΔE00 5.54
Deep Brown
#410200
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A151A #155A55
analogous
#5A153D #5A151A #5A3315
triadic
#5A151A #1A5A15 #151A5A
tetradic
#5A151A #3D5A15 #155A55 #33155A
square
#5A151A #3D5A15 #155A55 #33155A
split-complementary
#5A151A #155A33 #153D5A
monochromatic
#190607 #28090C #5A151A #8C2128 #BD2C37
Accessibility & contrast
On white
13.49
#5A151A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#5A151A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A151A
13.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A151A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A151A | 1.00 | 13.49 | 1.56 | 13.49 |
| #FFFFFF | 13.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28251A
Deuteranopia (green-blind)
#3A3418
Tritanopia (blue-blind)
#630217
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #5a151a; /* rgb */ color: rgb(90, 21, 26); /* oklch */ color: oklch(31.5% 0.100 21.2);
Tailwind
colors: {
custom: {
50: '#8e5856',
500: '#5a151a',
950: '#000000',
},
}SCSS
$custom: #5a151a; $custom-light: #8e5856; $custom-dark: #000000;
JSON
{
"hex": "#5a151a",
"rgb": {
"r": 90,
"g": 21,
"b": 26
},
"hsl": {
"h": 355.652,
"s": 62.162,
"l": 21.765
},
"oklch": {
"l": 0.31537,
"c": 0.09997,
"h": 21.2
},
"luminance": 0.02785
}Semantic roles & 50–950 ramp
primary
#5A151A
secondary
#39928B
accent
#E5D943
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0403
muted
#7E7978