#5A141B#5A141B
#5A141B is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.4% C 0.101 H 19.9°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).
Color values
| HEX | #5A141B |
|---|---|
| RGB | rgb(90, 20, 27) |
| HSL | hsl(354, 64%, 22%) |
| HSV | hsv(354, 78%, 35%) |
| CMYK | cmyk(0%, 77.8%, 70%, 64.7%) |
| CIE-LAB | lab(19.03, 32.08, 14.42) |
| CIE-LCH | lch(19.03, 35.17, 24.21°) |
| OKLab | oklab(31.44% 0.095 0.0343) |
| OKLCH | oklch(31.44% 0.101 19.9) |
| XYZ | xyz(4.6649, 2.7538, 1.3226) |
| Luminance | 0.0275 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 3.93
Maroon (survey)
#650021
ΔE00 4.94
Dried Blood
#4B0101
ΔE00 5.20
Mahogany
#4A0100
ΔE00 5.38
Rosewood
#65000B
ΔE00 5.57
Burgundy (survey)
#610023
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A141B #145A53
analogous
#5A143E #5A141B #5A3014
triadic
#5A141B #1B5A14 #141B5A
tetradic
#5A141B #3E5A14 #145A53 #30145A
square
#5A141B #3E5A14 #145A53 #30145A
split-complementary
#5A141B #145A30 #143E5A
monochromatic
#190608 #28090C #5A141B #8C1F2A #BE2A39
Accessibility & contrast
On white
13.54
#5A141B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#5A141B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A141B
13.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A141B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A141B | 1.00 | 13.54 | 1.55 | 13.54 |
| #FFFFFF | 13.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27251B
Deuteranopia (green-blind)
#393419
Tritanopia (blue-blind)
#630017
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #5a141b; /* rgb */ color: rgb(90, 20, 27); /* oklch */ color: oklch(31.4% 0.101 19.9);
Tailwind
colors: {
custom: {
50: '#8e5857',
500: '#5a141b',
950: '#000000',
},
}SCSS
$custom: #5a141b; $custom-light: #8e5857; $custom-dark: #000000;
JSON
{
"hex": "#5a141b",
"rgb": {
"r": 90,
"g": 20,
"b": 27
},
"hsl": {
"h": 354,
"s": 63.636,
"l": 21.569
},
"oklch": {
"l": 0.31444,
"c": 0.10101,
"h": 19.9
},
"luminance": 0.02753
}Semantic roles & 50–950 ramp
primary
#5A141B
secondary
#389289
accent
#E7D641
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0303
muted
#7E7878