#5A151B#5A151B
#5A151B is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.6% C 0.100 H 20.4°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).
Color values
| HEX | #5A151B |
|---|---|
| RGB | rgb(90, 21, 27) |
| HSL | hsl(355, 62%, 22%) |
| HSV | hsv(355, 77%, 35%) |
| CMYK | cmyk(0%, 76.7%, 70%, 64.7%) |
| CIE-LAB | lab(19.18, 31.66, 14.61) |
| CIE-LCH | lch(19.18, 34.87, 24.78°) |
| OKLab | oklab(31.56% 0.0937 0.0348) |
| OKLCH | oklch(31.56% 0.1 20.4) |
| XYZ | xyz(4.6829, 2.7898, 1.3286) |
| Luminance | 0.0279 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 4.05
Dried Blood
#4B0101
ΔE00 5.18
Maroon (survey)
#650021
ΔE00 5.20
Mahogany
#4A0100
ΔE00 5.35
Rosewood
#65000B
ΔE00 5.50
Burgundy (survey)
#610023
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A151B #155A54
analogous
#5A153E #5A151B #5A3215
triadic
#5A151B #1B5A15 #151B5A
tetradic
#5A151B #3E5A15 #155A54 #32155A
square
#5A151B #3E5A15 #155A54 #32155A
split-complementary
#5A151B #155A32 #153E5A
monochromatic
#190607 #28090C #5A151B #8C212A #BD2C39
Accessibility & contrast
On white
13.48
#5A151B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#5A151B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A151B
13.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A151B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A151B | 1.00 | 13.48 | 1.56 | 13.48 |
| #FFFFFF | 13.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28251B
Deuteranopia (green-blind)
#393419
Tritanopia (blue-blind)
#630218
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #5a151b; /* rgb */ color: rgb(90, 21, 27); /* oklch */ color: oklch(31.6% 0.100 20.4);
Tailwind
colors: {
custom: {
50: '#8e5857',
500: '#5a151b',
950: '#000000',
},
}SCSS
$custom: #5a151b; $custom-light: #8e5857; $custom-dark: #000000;
JSON
{
"hex": "#5a151b",
"rgb": {
"r": 90,
"g": 21,
"b": 27
},
"hsl": {
"h": 354.783,
"s": 62.162,
"l": 21.765
},
"oklch": {
"l": 0.31557,
"c": 0.09991,
"h": 20.4
},
"luminance": 0.02789
}Semantic roles & 50–950 ramp
primary
#5A151B
secondary
#39928A
accent
#E5D743
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0403
muted
#7E7978