#520F2E#520F2E
#520F2E is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.9% C 0.102 H 357.3°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).
Color values
| HEX | #520F2E |
|---|---|
| RGB | rgb(82, 15, 46) |
| HSL | hsl(332, 69%, 19%) |
| HSV | hsv(332, 82%, 32%) |
| CMYK | cmyk(0%, 81.7%, 43.9%, 67.8%) |
| CIE-LAB | lab(17.15, 33.10, -2.00) |
| CIE-LCH | lch(17.15, 33.16, 356.55°) |
| OKLab | oklab(29.91% 0.1017 -0.0048) |
| OKLCH | oklch(29.91% 0.102 357.3) |
| XYZ | xyz(4.1439, 2.3333, 2.8164) |
| Luminance | 0.0233 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 5.79
Dark Plum
#3F012C
ΔE00 6.19
Burgundy (survey)
#610023
ΔE00 6.67
Merlot
#730039
ΔE00 6.83
Aubergine
#3D0734
ΔE00 8.16
Maroon (survey)
#650021
ΔE00 8.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#520F2E #0F5233
analogous
#520F50 #520F2E #52120F
triadic
#520F2E #2E520F #0F2E52
tetradic
#520F2E #50520F #0F5233 #120F52
square
#520F2E #50520F #0F5233 #120F52
split-complementary
#520F2E #0F5212 #0F5052
monochromatic
#1A050F #1E0611 #520F2E #86184B #B92268
Accessibility & contrast
On white
14.32
#520F2E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#520F2E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #520F2E
14.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##520F2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##520F2E | 1.00 | 14.32 | 1.47 | 14.32 |
| #FFFFFF | 14.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D222F
Deuteranopia (green-blind)
#2F2F2C
Tritanopia (blue-blind)
#59061D
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #520f2e; /* rgb */ color: rgb(82, 15, 46); /* oklch */ color: oklch(29.9% 0.102 357.3);
Tailwind
colors: {
custom: {
50: '#865566',
500: '#520f2e',
950: '#000000',
},
}SCSS
$custom: #520f2e; $custom-light: #865566; $custom-dark: #000000;
JSON
{
"hex": "#520f2e",
"rgb": {
"r": 82,
"g": 15,
"b": 46
},
"hsl": {
"h": 332.239,
"s": 69.072,
"l": 19.02
},
"oklch": {
"l": 0.29914,
"c": 0.10179,
"h": 357.3
},
"luminance": 0.02333
}Semantic roles & 50–950 ramp
primary
#520F2E
secondary
#318C62
accent
#EC9A3C
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0306
muted
#7D787A