#5A111B#5A111B
#5A111B is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.1% C 0.104 H 18.5°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).
Color values
| HEX | #5A111B |
|---|---|
| RGB | rgb(90, 17, 27) |
| HSL | hsl(352, 68%, 21%) |
| HSV | hsv(352, 81%, 35%) |
| CMYK | cmyk(0%, 81.1%, 70%, 64.7%) |
| CIE-LAB | lab(18.60, 33.26, 13.88) |
| CIE-LCH | lch(18.60, 36.04, 22.65°) |
| OKLab | oklab(31.13% 0.0988 0.0331) |
| OKLCH | oklch(31.13% 0.104 18.5) |
| XYZ | xyz(4.6152, 2.6544, 1.3060) |
| Luminance | 0.0265 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 3.70
Maroon (survey)
#650021
ΔE00 4.24
Burgundy (survey)
#610023
ΔE00 5.08
Dried Blood
#4B0101
ΔE00 5.35
Mahogany
#4A0100
ΔE00 5.53
Rosewood
#65000B
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A111B #115A50
analogous
#5A113F #5A111B #5A2B11
triadic
#5A111B #1B5A11 #111B5A
tetradic
#5A111B #3F5A11 #115A50 #2B115A
square
#5A111B #3F5A11 #115A50 #2B115A
split-complementary
#5A111B #115A2B #113F5A
monochromatic
#1A0508 #27070C #5A111B #8D1B2A #C1243A
Accessibility & contrast
On white
13.72
#5A111B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#5A111B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A111B
13.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A111B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A111B | 1.00 | 13.72 | 1.53 | 13.72 |
| #FFFFFF | 13.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26231B
Deuteranopia (green-blind)
#383319
Tritanopia (blue-blind)
#630015
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #5a111b; /* rgb */ color: rgb(90, 17, 27); /* oklch */ color: oklch(31.1% 0.104 18.5);
Tailwind
colors: {
custom: {
50: '#8e5657',
500: '#5a111b',
950: '#000000',
},
}SCSS
$custom: #5a111b; $custom-light: #8e5657; $custom-dark: #000000;
JSON
{
"hex": "#5a111b",
"rgb": {
"r": 90,
"g": 17,
"b": 27
},
"hsl": {
"h": 351.781,
"s": 68.224,
"l": 20.98
},
"oklch": {
"l": 0.31127,
"c": 0.10419,
"h": 18.5
},
"luminance": 0.02654
}Semantic roles & 50–950 ramp
primary
#5A111B
secondary
#349386
accent
#EBD33D
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0303
muted
#7E7878