#521817#521817
#521817 is a dark, moderate red. Relative luminance 0.025; OKLCH L 30.3% C 0.087 H 24.8°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).
Color values
| HEX | #521817 |
|---|---|
| RGB | rgb(82, 24, 23) |
| HSL | hsl(1, 56%, 21%) |
| HSV | hsv(1, 72%, 32%) |
| CMYK | cmyk(0%, 70.7%, 72%, 67.8%) |
| CIE-LAB | lab(17.96, 26.97, 15.50) |
| CIE-LCH | lch(17.96, 31.11, 29.89°) |
| OKLab | oklab(30.31% 0.079 0.0365) |
| OKLCH | oklch(30.31% 0.087 24.8) |
| XYZ | xyz(3.9614, 2.5095, 1.0862) |
| Luminance | 0.0251 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 4.43
Mahogany
#4A0100
ΔE00 4.51
Deep Brown
#410200
ΔE00 5.08
Rosewood
#65000B
ΔE00 6.15
Claret
#680018
ΔE00 6.30
Dark Maroon
#3C0008
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#521817 #175152
analogous
#521733 #521817 #523517
triadic
#521817 #175218 #181752
tetradic
#521817 #335217 #175152 #351752
square
#521817 #335217 #175152 #351752
split-complementary
#521817 #175235 #173352
monochromatic
#180707 #220A0A #521817 #822624 #B23432
Accessibility & contrast
On white
13.98
#521817 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#521817 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #521817
13.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##521817 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##521817 | 1.00 | 13.98 | 1.50 | 13.98 |
| #FFFFFF | 13.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#272416
Deuteranopia (green-blind)
#363115
Tritanopia (blue-blind)
#5B0A18
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #521817; /* rgb */ color: rgb(82, 24, 23); /* oklch */ color: oklch(30.3% 0.087 24.8);
Tailwind
colors: {
custom: {
50: '#885853',
500: '#521817',
950: '#000000',
},
}SCSS
$custom: #521817; $custom-light: #885853; $custom-dark: #000000;
JSON
{
"hex": "#521817",
"rgb": {
"r": 82,
"g": 24,
"b": 23
},
"hsl": {
"h": 1.017,
"s": 56.19,
"l": 20.588
},
"oklch": {
"l": 0.30314,
"c": 0.08705,
"h": 24.8
},
"luminance": 0.02509
}Semantic roles & 50–950 ramp
primary
#521817
secondary
#3C8889
accent
#DDDF48
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878