#521517#521517
#521517 is a dark, moderate red. Relative luminance 0.024; OKLCH L 29.9% C 0.091 H 22.7°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).
Color values
| HEX | #521517 |
|---|---|
| RGB | rgb(82, 21, 23) |
| HSL | hsl(358, 59%, 20%) |
| HSV | hsv(358, 74%, 32%) |
| CMYK | cmyk(0%, 74.4%, 72%, 67.8%) |
| CIE-LAB | lab(17.43, 28.42, 14.84) |
| CIE-LCH | lch(17.43, 32.06, 27.56°) |
| OKLab | oklab(29.91% 0.0836 0.035) |
| OKLCH | oklch(29.91% 0.091 22.7) |
| XYZ | xyz(3.9029, 2.3926, 1.0667) |
| Luminance | 0.0239 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 4.12
Mahogany
#4A0100
ΔE00 4.23
Deep Brown
#410200
ΔE00 4.69
Claret
#680018
ΔE00 5.67
Rosewood
#65000B
ΔE00 6.04
Dark Maroon
#3C0008
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#521517 #155250
analogous
#521535 #521517 #523215
triadic
#521517 #175215 #151752
tetradic
#521517 #355215 #155250 #321552
square
#521517 #355215 #155250 #321552
split-complementary
#521517 #155232 #153552
monochromatic
#180607 #210909 #521517 #832125 #B32E32
Accessibility & contrast
On white
14.20
#521517 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#521517 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #521517
14.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##521517 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##521517 | 1.00 | 14.20 | 1.48 | 14.20 |
| #FFFFFF | 14.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#262317
Deuteranopia (green-blind)
#353015
Tritanopia (blue-blind)
#5B0516
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #521517; /* rgb */ color: rgb(82, 21, 23); /* oklch */ color: oklch(29.9% 0.091 22.7);
Tailwind
colors: {
custom: {
50: '#885753',
500: '#521517',
950: '#000000',
},
}SCSS
$custom: #521517; $custom-light: #885753; $custom-dark: #000000;
JSON
{
"hex": "#521517",
"rgb": {
"r": 82,
"g": 21,
"b": 23
},
"hsl": {
"h": 358.033,
"s": 59.223,
"l": 20.196
},
"oklch": {
"l": 0.29913,
"c": 0.09065,
"h": 22.7
},
"luminance": 0.02392
}Semantic roles & 50–950 ramp
primary
#521517
secondary
#398A87
accent
#E2DD45
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878