#5A201C#5A201C
#5A201C is a dark, moderate red. Relative luminance 0.033; OKLCH L 33.1% C 0.087 H 26.8°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).
Color values
| HEX | #5A201C |
|---|---|
| RGB | rgb(90, 32, 28) |
| HSL | hsl(4, 53%, 23%) |
| HSV | hsv(4, 69%, 35%) |
| CMYK | cmyk(0%, 64.4%, 68.9%, 64.7%) |
| CIE-LAB | lab(21.17, 26.40, 16.44) |
| CIE-LCH | lch(21.17, 31.10, 31.91°) |
| OKLab | oklab(33.06% 0.0773 0.039) |
| OKLCH | oklch(33.06% 0.087 26.8) |
| XYZ | xyz(4.9430, 3.2912, 1.4733) |
| Luminance | 0.0329 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rosewood
#65000B
ΔE00 6.22
Dried Blood
#4B0101
ΔE00 6.31
Mahogany
#4A0100
ΔE00 6.41
Claret
#680018
ΔE00 6.64
Deep Brown
#410200
ΔE00 7.34
Reddy Brown
#6E1005
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A201C #1C565A
analogous
#5A1C37 #5A201C #5A3F1C
triadic
#5A201C #1C5A20 #201C5A
tetradic
#5A201C #375A1C #1C565A #3F1C5A
square
#5A201C #375A1C #1C565A #3F1C5A
split-complementary
#5A201C #1C5A3F #1C375A
monochromatic
#170807 #2B0F0D #5A201C #89312B #B74139
Accessibility & contrast
On white
12.66
#5A201C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#5A201C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A201C
12.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A201C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A201C | 1.00 | 12.66 | 1.66 | 12.66 |
| #FFFFFF | 12.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F2B1B
Deuteranopia (green-blind)
#3D381B
Tritanopia (blue-blind)
#63141F
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #5a201c; /* rgb */ color: rgb(90, 32, 28); /* oklch */ color: oklch(33.1% 0.087 26.8);
Tailwind
colors: {
custom: {
50: '#8d5e58',
500: '#5a201c',
950: '#000000',
},
}SCSS
$custom: #5a201c; $custom-light: #8d5e58; $custom-dark: #000000;
JSON
{
"hex": "#5a201c",
"rgb": {
"r": 90,
"g": 32,
"b": 28
},
"hsl": {
"h": 3.871,
"s": 52.542,
"l": 23.137
},
"oklch": {
"l": 0.33057,
"c": 0.08654,
"h": 26.8
},
"luminance": 0.03291
}Semantic roles & 50–950 ramp
primary
#5A201C
secondary
#428B8F
accent
#D3DC4C
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0403
muted
#7E7978