#520F17#520F17
#520F17 is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.2% C 0.097 H 19.4°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).
Color values
| HEX | #520F17 |
|---|---|
| RGB | rgb(82, 15, 23) |
| HSL | hsl(353, 69%, 19%) |
| HSV | hsv(353, 82%, 32%) |
| CMYK | cmyk(0%, 81.7%, 72%, 67.8%) |
| CIE-LAB | lab(16.49, 31.00, 13.67) |
| CIE-LCH | lch(16.49, 33.87, 23.79°) |
| OKLab | oklab(29.22% 0.0918 0.0324) |
| OKLCH | oklch(29.22% 0.097 19.4) |
| XYZ | xyz(3.8056, 2.1979, 1.0343) |
| Luminance | 0.0220 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 4.22
Mahogany
#4A0100
ΔE00 4.37
Deep Brown
#410200
ΔE00 4.56
Claret
#680018
ΔE00 5.00
Dark Maroon
#3C0008
ΔE00 5.28
Maroon (survey)
#650021
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#520F17 #0F524A
analogous
#520F39 #520F17 #52290F
triadic
#520F17 #17520F #0F1752
tetradic
#520F17 #39520F #0F524A #290F52
square
#520F17 #39520F #0F524A #290F52
split-complementary
#520F17 #0F5229 #0F3952
monochromatic
#1A0507 #1E0608 #520F17 #861826 #B92234
Accessibility & contrast
On white
14.59
#520F17 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#520F17 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #520F17
14.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##520F17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##520F17 | 1.00 | 14.59 | 1.44 | 14.59 |
| #FFFFFF | 14.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#222017
Deuteranopia (green-blind)
#332E15
Tritanopia (blue-blind)
#5B0013
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #520f17; /* rgb */ color: rgb(82, 15, 23); /* oklch */ color: oklch(29.2% 0.097 19.4);
Tailwind
colors: {
custom: {
50: '#885453',
500: '#520f17',
950: '#000000',
},
}SCSS
$custom: #520f17; $custom-light: #885453; $custom-dark: #000000;
JSON
{
"hex": "#520f17",
"rgb": {
"r": 82,
"g": 15,
"b": 23
},
"hsl": {
"h": 352.836,
"s": 69.072,
"l": 19.02
},
"oklch": {
"l": 0.29218,
"c": 0.09736,
"h": 19.4
},
"luminance": 0.02197
}Semantic roles & 50–950 ramp
primary
#520F17
secondary
#318C81
accent
#ECD73C
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878