#521217#521217
#521217 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.5% C 0.094 H 21.0°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).
Color values
| HEX | #521217 |
|---|---|
| RGB | rgb(82, 18, 23) |
| HSL | hsl(355, 64%, 20%) |
| HSV | hsv(355, 78%, 32%) |
| CMYK | cmyk(0%, 78%, 72%, 67.8%) |
| CIE-LAB | lab(16.94, 29.77, 14.22) |
| CIE-LCH | lch(16.94, 32.99, 25.54°) |
| OKLab | oklab(29.55% 0.0879 0.0337) |
| OKLCH | oklch(29.55% 0.094 21) |
| XYZ | xyz(3.8510, 2.2889, 1.0495) |
| Luminance | 0.0229 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 4.08
Mahogany
#4A0100
ΔE00 4.21
Deep Brown
#410200
ΔE00 4.54
Claret
#680018
ΔE00 5.24
Dark Maroon
#3C0008
ΔE00 5.69
Maroon (survey)
#650021
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#521217 #12524D
analogous
#521237 #521217 #522D12
triadic
#521217 #175212 #121752
tetradic
#521217 #375212 #12524D #2D1252
square
#521217 #375212 #12524D #2D1252
split-complementary
#521217 #12522D #123752
monochromatic
#190607 #200709 #521217 #841D25 #B62833
Accessibility & contrast
On white
14.41
#521217 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#521217 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #521217
14.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##521217 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##521217 | 1.00 | 14.41 | 1.46 | 14.41 |
| #FFFFFF | 14.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#242117
Deuteranopia (green-blind)
#342F15
Tritanopia (blue-blind)
#5B0114
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #521217; /* rgb */ color: rgb(82, 18, 23); /* oklch */ color: oklch(29.5% 0.094 21.0);
Tailwind
colors: {
custom: {
50: '#885553',
500: '#521217',
950: '#000000',
},
}SCSS
$custom: #521217; $custom-light: #885553; $custom-dark: #000000;
JSON
{
"hex": "#521217",
"rgb": {
"r": 82,
"g": 18,
"b": 23
},
"hsl": {
"h": 355.313,
"s": 64,
"l": 19.608
},
"oklch": {
"l": 0.29547,
"c": 0.09411,
"h": 21
},
"luminance": 0.02288
}Semantic roles & 50–950 ramp
primary
#521217
secondary
#358B84
accent
#E7DA41
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878