#521117#521117
#521117 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.4% C 0.095 H 20.4°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).
Color values
| HEX | #521117 |
|---|---|
| RGB | rgb(82, 17, 23) |
| HSL | hsl(354, 66%, 19%) |
| HSV | hsv(354, 79%, 32%) |
| CMYK | cmyk(0%, 79.3%, 72%, 67.8%) |
| CIE-LAB | lab(16.78, 30.19, 14.03) |
| CIE-LCH | lch(16.78, 33.29, 24.93°) |
| OKLab | oklab(29.43% 0.0892 0.0332) |
| OKLCH | oklch(29.43% 0.095 20.4) |
| XYZ | xyz(3.8352, 2.2572, 1.0442) |
| Luminance | 0.0226 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 4.11
Mahogany
#4A0100
ΔE00 4.24
Deep Brown
#410200
ΔE00 4.53
Claret
#680018
ΔE00 5.14
Dark Maroon
#3C0008
ΔE00 5.53
Maroon (survey)
#650021
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#521117 #11524C
analogous
#521138 #521117 #522C11
triadic
#521117 #175211 #111752
tetradic
#521117 #385211 #11524C #2C1152
square
#521117 #385211 #11524C #2C1152
split-complementary
#521117 #11522C #113852
monochromatic
#190507 #1F0609 #521117 #851C25 #B72633
Accessibility & contrast
On white
14.47
#521117 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#521117 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #521117
14.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##521117 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##521117 | 1.00 | 14.47 | 1.45 | 14.47 |
| #FFFFFF | 14.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#232117
Deuteranopia (green-blind)
#342E15
Tritanopia (blue-blind)
#5B0014
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #521117; /* rgb */ color: rgb(82, 17, 23); /* oklch */ color: oklch(29.4% 0.095 20.4);
Tailwind
colors: {
custom: {
50: '#885553',
500: '#521117',
950: '#000000',
},
}SCSS
$custom: #521117; $custom-light: #885553; $custom-dark: #000000;
JSON
{
"hex": "#521117",
"rgb": {
"r": 82,
"g": 17,
"b": 23
},
"hsl": {
"h": 354.462,
"s": 65.657,
"l": 19.412
},
"oklch": {
"l": 0.29433,
"c": 0.09522,
"h": 20.4
},
"luminance": 0.02257
}Semantic roles & 50–950 ramp
primary
#521117
secondary
#348B83
accent
#E9D93F
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878