#520F16#520F16
#520F16 is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.2% C 0.097 H 20.3°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).
Color values
| HEX | #520F16 |
|---|---|
| RGB | rgb(82, 15, 22) |
| HSL | hsl(354, 69%, 19%) |
| HSV | hsv(354, 82%, 32%) |
| CMYK | cmyk(0%, 81.7%, 73.2%, 67.8%) |
| CIE-LAB | lab(16.47, 30.93, 14.35) |
| CIE-LCH | lch(16.47, 34.10, 24.89°) |
| OKLab | oklab(29.2% 0.0914 0.0338) |
| OKLCH | oklch(29.2% 0.097 20.3) |
| XYZ | xyz(3.7957, 2.1940, 0.9825) |
| Luminance | 0.0219 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 3.87
Mahogany
#4A0100
ΔE00 4.01
Deep Brown
#410200
ΔE00 4.36
Claret
#680018
ΔE00 4.96
Dark Maroon
#3C0008
ΔE00 5.41
Maroon (survey)
#650021
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#520F16 #0F524B
analogous
#520F38 #520F16 #522A0F
triadic
#520F16 #16520F #0F1652
tetradic
#520F16 #38520F #0F524B #2A0F52
square
#520F16 #38520F #0F524B #2A0F52
split-complementary
#520F16 #0F522A #0F3852
monochromatic
#1A0507 #1E0608 #520F16 #861824 #B92232
Accessibility & contrast
On white
14.60
#520F16 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#520F16 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #520F16
14.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##520F16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##520F16 | 1.00 | 14.60 | 1.44 | 14.60 |
| #FFFFFF | 14.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#222016
Deuteranopia (green-blind)
#332E14
Tritanopia (blue-blind)
#5B0012
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #520f16; /* rgb */ color: rgb(82, 15, 22); /* oklch */ color: oklch(29.2% 0.097 20.3);
Tailwind
colors: {
custom: {
50: '#885452',
500: '#520f16',
950: '#000000',
},
}SCSS
$custom: #520f16; $custom-light: #885452; $custom-dark: #000000;
JSON
{
"hex": "#520f16",
"rgb": {
"r": 82,
"g": 15,
"b": 22
},
"hsl": {
"h": 353.731,
"s": 69.072,
"l": 19.02
},
"oklch": {
"l": 0.29198,
"c": 0.09741,
"h": 20.3
},
"luminance": 0.02193
}Semantic roles & 50–950 ramp
primary
#520F16
secondary
#318C83
accent
#ECDA3C
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878