#520F2A#520F2A
#520F2A is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.8% C 0.100 H 1.2°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).
Color values
| HEX | #520F2A |
|---|---|
| RGB | rgb(82, 15, 42) |
| HSL | hsl(336, 69%, 19%) |
| HSV | hsv(336, 82%, 32%) |
| CMYK | cmyk(0%, 81.7%, 48.8%, 67.8%) |
| CIE-LAB | lab(17.00, 32.65, 0.67) |
| CIE-LCH | lch(17.00, 32.66, 1.17°) |
| OKLab | oklab(29.76% 0.1002 0.0021) |
| OKLCH | oklch(29.76% 0.1 1.2) |
| XYZ | xyz(4.0687, 2.3032, 2.4203) |
| Luminance | 0.0230 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 5.41
Merlot
#730039
ΔE00 6.89
Maroon (survey)
#650021
ΔE00 6.95
Plum (survey)
#580F41
ΔE00 7.33
Dark Plum
#3F012C
ΔE00 7.39
Dark Maroon
#3C0008
ΔE00 8.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#520F2A #0F5237
analogous
#520F4C #520F2A #52160F
triadic
#520F2A #2A520F #0F2A52
tetradic
#520F2A #4C520F #0F5237 #160F52
square
#520F2A #4C520F #0F5237 #160F52
split-complementary
#520F2A #0F5216 #0F4C52
monochromatic
#1A050D #1E0610 #520F2A #861844 #B9225F
Accessibility & contrast
On white
14.38
#520F2A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#520F2A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #520F2A
14.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##520F2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##520F2A | 1.00 | 14.38 | 1.46 | 14.38 |
| #FFFFFF | 14.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E222B
Deuteranopia (green-blind)
#302F28
Tritanopia (blue-blind)
#5A041B
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #520f2a; /* rgb */ color: rgb(82, 15, 42); /* oklch */ color: oklch(29.8% 0.100 1.2);
Tailwind
colors: {
custom: {
50: '#875563',
500: '#520f2a',
950: '#000000',
},
}SCSS
$custom: #520f2a; $custom-light: #875563; $custom-dark: #000000;
JSON
{
"hex": "#520f2a",
"rgb": {
"r": 82,
"g": 15,
"b": 42
},
"hsl": {
"h": 335.821,
"s": 69.072,
"l": 19.02
},
"oklch": {
"l": 0.29762,
"c": 0.10018,
"h": 1.2
},
"luminance": 0.02303
}Semantic roles & 50–950 ramp
primary
#520F2A
secondary
#318C67
accent
#ECA53C
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0305
muted
#7D7879