#5A201A#5A201A
#5A201A is a dark, moderate red. Relative luminance 0.033; OKLCH L 33.0% C 0.087 H 28.6°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).
Color values
| HEX | #5A201A |
|---|---|
| RGB | rgb(90, 32, 26) |
| HSL | hsl(6, 55%, 23%) |
| HSV | hsv(6, 71%, 35%) |
| CMYK | cmyk(0%, 64.4%, 71.1%, 64.7%) |
| CIE-LAB | lab(21.14, 26.26, 17.73) |
| CIE-LCH | lch(21.14, 31.68, 34.02°) |
| OKLab | oklab(33.02% 0.0764 0.0416) |
| OKLCH | oklch(33.02% 0.087 28.6) |
| XYZ | xyz(4.9199, 3.2819, 1.3515) |
| Luminance | 0.0328 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rosewood
#65000B
ΔE00 6.10
Dried Blood
#4B0101
ΔE00 6.32
Mahogany
#4A0100
ΔE00 6.41
Claret
#680018
ΔE00 7.05
Reddy Brown
#6E1005
ΔE00 7.12
Deep Brown
#410200
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A201A #1A545A
analogous
#5A1A34 #5A201A #5A401A
triadic
#5A201A #1A5A20 #201A5A
tetradic
#5A201A #345A1A #1A545A #401A5A
square
#5A201A #345A1A #1A545A #401A5A
split-complementary
#5A201A #1A5A40 #1A345A
monochromatic
#180807 #2B0F0C #5A201A #893128 #B94235
Accessibility & contrast
On white
12.68
#5A201A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#5A201A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A201A
12.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A201A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A201A | 1.00 | 12.68 | 1.66 | 12.68 |
| #FFFFFF | 12.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F2B19
Deuteranopia (green-blind)
#3E3718
Tritanopia (blue-blind)
#63141F
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #5a201a; /* rgb */ color: rgb(90, 32, 26); /* oklch */ color: oklch(33.0% 0.087 28.6);
Tailwind
colors: {
custom: {
50: '#8e5e56',
500: '#5a201a',
950: '#000000',
},
}SCSS
$custom: #5a201a; $custom-light: #8e5e56; $custom-dark: #000000;
JSON
{
"hex": "#5a201a",
"rgb": {
"r": 90,
"g": 32,
"b": 26
},
"hsl": {
"h": 5.625,
"s": 55.172,
"l": 22.745
},
"oklch": {
"l": 0.33019,
"c": 0.08697,
"h": 28.6
},
"luminance": 0.03281
}Semantic roles & 50–950 ramp
primary
#5A201A
secondary
#408990
accent
#D1DF49
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0403
muted
#7E7978