#520D1F#520D1F
#520D1F is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.2% C 0.100 H 11.3°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).
Color values
| HEX | #520D1F |
|---|---|
| RGB | rgb(82, 13, 31) |
| HSL | hsl(344, 73%, 19%) |
| HSV | hsv(344, 84%, 32%) |
| CMYK | cmyk(0%, 84.1%, 62.2%, 67.8%) |
| CIE-LAB | lab(16.41, 32.33, 7.80) |
| CIE-LCH | lch(16.41, 33.26, 13.56°) |
| OKLab | oklab(29.22% 0.0978 0.0195) |
| OKLCH | oklch(29.22% 0.1 11.3) |
| XYZ | xyz(3.8713, 2.1812, 1.5132) |
| Luminance | 0.0218 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 3.60
Maroon (survey)
#650021
ΔE00 4.33
Dark Maroon
#3C0008
ΔE00 5.57
Claret
#680018
ΔE00 6.81
Deep Brown
#410200
ΔE00 7.27
Dried Blood
#4B0101
ΔE00 7.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#520D1F #0D5240
analogous
#520D41 #520D1F #521D0D
triadic
#520D1F #1F520D #0D1F52
tetradic
#520D1F #41520D #0D5240 #1D0D52
square
#520D1F #41520D #0D5240 #1D0D52
split-complementary
#520D1F #0D521D #0D4152
monochromatic
#1A040A #1D050B #520D1F #871533 #BC1E47
Accessibility & contrast
On white
14.62
#520D1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#520D1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #520D1F
14.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##520D1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##520D1F | 1.00 | 14.62 | 1.44 | 14.62 |
| #FFFFFF | 14.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#20201F
Deuteranopia (green-blind)
#322E1D
Tritanopia (blue-blind)
#5A0015
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #520d1f; /* rgb */ color: rgb(82, 13, 31); /* oklch */ color: oklch(29.2% 0.100 11.3);
Tailwind
colors: {
custom: {
50: '#88535a',
500: '#520d1f',
950: '#000000',
},
}SCSS
$custom: #520d1f; $custom-light: #88535a; $custom-dark: #000000;
JSON
{
"hex": "#520d1f",
"rgb": {
"r": 82,
"g": 13,
"b": 31
},
"hsl": {
"h": 344.348,
"s": 72.632,
"l": 18.627
},
"oklch": {
"l": 0.29216,
"c": 0.09977,
"h": 11.3
},
"luminance": 0.02181
}Semantic roles & 50–950 ramp
primary
#520D1F
secondary
#2E8D74
accent
#EFC038
background
#F8F5F5
surface
#F0E8E9
border
#CBC4C5
text
#0C0303
muted
#7D7878