#520F2C#520F2C
#520F2C is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.8% C 0.101 H 359.2°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).
Color values
| HEX | #520F2C |
|---|---|
| RGB | rgb(82, 15, 44) |
| HSL | hsl(334, 69%, 19%) |
| HSV | hsv(334, 82%, 32%) |
| CMYK | cmyk(0%, 81.7%, 46.3%, 67.8%) |
| CIE-LAB | lab(17.07, 32.87, -0.67) |
| CIE-LCH | lch(17.07, 32.88, 358.83°) |
| OKLab | oklab(29.84% 0.1009 -0.0014) |
| OKLCH | oklch(29.84% 0.101 359.2) |
| XYZ | xyz(4.1054, 2.3179, 2.6136) |
| Luminance | 0.0232 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 6.03
Plum (survey)
#580F41
ΔE00 6.55
Dark Plum
#3F012C
ΔE00 6.77
Merlot
#730039
ΔE00 6.82
Maroon (survey)
#650021
ΔE00 7.60
Aubergine
#3D0734
ΔE00 8.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#520F2C #0F5235
analogous
#520F4E #520F2C #52140F
triadic
#520F2C #2C520F #0F2C52
tetradic
#520F2C #4E520F #0F5235 #140F52
square
#520F2C #4E520F #0F5235 #140F52
split-complementary
#520F2C #0F5214 #0F4E52
monochromatic
#1A050E #1E0610 #520F2C #861848 #B92264
Accessibility & contrast
On white
14.35
#520F2C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#520F2C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #520F2C
14.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##520F2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##520F2C | 1.00 | 14.35 | 1.46 | 14.35 |
| #FFFFFF | 14.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E222D
Deuteranopia (green-blind)
#302F2A
Tritanopia (blue-blind)
#5A051C
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #520f2c; /* rgb */ color: rgb(82, 15, 44); /* oklch */ color: oklch(29.8% 0.101 359.2);
Tailwind
colors: {
custom: {
50: '#865564',
500: '#520f2c',
950: '#000000',
},
}SCSS
$custom: #520f2c; $custom-light: #865564; $custom-dark: #000000;
JSON
{
"hex": "#520f2c",
"rgb": {
"r": 82,
"g": 15,
"b": 44
},
"hsl": {
"h": 334.03,
"s": 69.072,
"l": 19.02
},
"oklch": {
"l": 0.29836,
"c": 0.10095,
"h": 359.2
},
"luminance": 0.02317
}Semantic roles & 50–950 ramp
primary
#520F2C
secondary
#318C65
accent
#ECA03C
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0305
muted
#7D787A