#520F18#520F18
#520F18 is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.2% C 0.097 H 18.6°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).
Color values
| HEX | #520F18 |
|---|---|
| RGB | rgb(82, 15, 24) |
| HSL | hsl(352, 69%, 19%) |
| HSV | hsv(352, 82%, 32%) |
| CMYK | cmyk(0%, 81.7%, 70.7%, 67.8%) |
| CIE-LAB | lab(16.51, 31.06, 12.98) |
| CIE-LCH | lch(16.51, 33.66, 22.68°) |
| OKLab | oklab(29.24% 0.0923 0.031) |
| OKLCH | oklch(29.24% 0.097 18.6) |
| XYZ | xyz(3.8158, 2.2020, 1.0881) |
| Luminance | 0.0220 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 4.60
Mahogany
#4A0100
ΔE00 4.74
Deep Brown
#410200
ΔE00 4.79
Claret
#680018
ΔE00 5.08
Dark Maroon
#3C0008
ΔE00 5.17
Maroon (survey)
#650021
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#520F18 #0F5249
analogous
#520F3A #520F18 #52280F
triadic
#520F18 #18520F #0F1852
tetradic
#520F18 #3A520F #0F5249 #280F52
square
#520F18 #3A520F #0F5249 #280F52
split-complementary
#520F18 #0F5228 #0F3A52
monochromatic
#1A0508 #1E0609 #520F18 #861827 #B92236
Accessibility & contrast
On white
14.58
#520F18 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#520F18 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #520F18
14.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##520F18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##520F18 | 1.00 | 14.58 | 1.44 | 14.58 |
| #FFFFFF | 14.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#222018
Deuteranopia (green-blind)
#332E16
Tritanopia (blue-blind)
#5B0013
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #520f18; /* rgb */ color: rgb(82, 15, 24); /* oklch */ color: oklch(29.2% 0.097 18.6);
Tailwind
colors: {
custom: {
50: '#885454',
500: '#520f18',
950: '#000000',
},
}SCSS
$custom: #520f18; $custom-light: #885454; $custom-dark: #000000;
JSON
{
"hex": "#520f18",
"rgb": {
"r": 82,
"g": 15,
"b": 24
},
"hsl": {
"h": 351.94,
"s": 69.072,
"l": 19.02
},
"oklch": {
"l": 0.2924,
"c": 0.09732,
"h": 18.6
},
"luminance": 0.02201
}Semantic roles & 50–950 ramp
primary
#520F18
secondary
#318C80
accent
#ECD43C
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878