#521317#521317
#521317 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.7% C 0.093 H 21.5°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).
Color values
| HEX | #521317 |
|---|---|
| RGB | rgb(82, 19, 23) |
| HSL | hsl(356, 62%, 20%) |
| HSV | hsv(356, 77%, 32%) |
| CMYK | cmyk(0%, 76.8%, 72%, 67.8%) |
| CIE-LAB | lab(17.09, 29.33, 14.42) |
| CIE-LCH | lch(17.09, 32.69, 26.18°) |
| OKLab | oklab(29.67% 0.0865 0.0341) |
| OKLCH | oklch(29.67% 0.093 21.5) |
| XYZ | xyz(3.8676, 2.3220, 1.0550) |
| Luminance | 0.0232 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 4.07
Mahogany
#4A0100
ΔE00 4.19
Deep Brown
#410200
ΔE00 4.57
Claret
#680018
ΔE00 5.36
Dark Maroon
#3C0008
ΔE00 5.86
Rosewood
#65000B
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#521317 #13524E
analogous
#521337 #521317 #522E13
triadic
#521317 #175213 #131752
tetradic
#521317 #375213 #13524E #2E1352
square
#521317 #375213 #13524E #2E1352
split-complementary
#521317 #13522E #133752
monochromatic
#190607 #200709 #521317 #841F25 #B52A33
Accessibility & contrast
On white
14.34
#521317 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#521317 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #521317
14.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##521317 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##521317 | 1.00 | 14.34 | 1.46 | 14.34 |
| #FFFFFF | 14.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#242217
Deuteranopia (green-blind)
#342F15
Tritanopia (blue-blind)
#5B0215
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #521317; /* rgb */ color: rgb(82, 19, 23); /* oklch */ color: oklch(29.7% 0.093 21.5);
Tailwind
colors: {
custom: {
50: '#885653',
500: '#521317',
950: '#000000',
},
}SCSS
$custom: #521317; $custom-light: #885653; $custom-dark: #000000;
JSON
{
"hex": "#521317",
"rgb": {
"r": 82,
"g": 19,
"b": 23
},
"hsl": {
"h": 356.19,
"s": 62.376,
"l": 19.804
},
"oklch": {
"l": 0.29665,
"c": 0.09298,
"h": 21.5
},
"luminance": 0.02321
}Semantic roles & 50–950 ramp
primary
#521317
secondary
#368A85
accent
#E5DB42
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878