#520F27#520F27
#520F27 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.7% C 0.099 H 4.2°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).
Color values
| HEX | #520F27 |
|---|---|
| RGB | rgb(82, 15, 39) |
| HSL | hsl(339, 69%, 19%) |
| HSV | hsv(339, 82%, 32%) |
| CMYK | cmyk(0%, 81.7%, 52.4%, 67.8%) |
| CIE-LAB | lab(16.91, 32.33, 2.69) |
| CIE-LCH | lch(16.91, 32.44, 4.76°) |
| OKLab | oklab(29.66% 0.099 0.0072) |
| OKLCH | oklch(29.66% 0.099 4.2) |
| XYZ | xyz(4.0170, 2.2825, 2.1481) |
| Luminance | 0.0228 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.58
Maroon (survey)
#650021
ΔE00 6.02
Merlot
#730039
ΔE00 7.19
Dark Maroon
#3C0008
ΔE00 7.62
Dark Plum
#3F012C
ΔE00 8.41
Plum (survey)
#580F41
ΔE00 8.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#520F27 #0F523A
analogous
#520F49 #520F27 #52190F
triadic
#520F27 #27520F #0F2752
tetradic
#520F27 #49520F #0F523A #190F52
square
#520F27 #49520F #0F523A #190F52
split-complementary
#520F27 #0F5219 #0F4952
monochromatic
#1A050C #1E060E #520F27 #861840 #B92258
Accessibility & contrast
On white
14.42
#520F27 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#520F27 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #520F27
14.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##520F27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##520F27 | 1.00 | 14.42 | 1.46 | 14.42 |
| #FFFFFF | 14.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F2128
Deuteranopia (green-blind)
#312E25
Tritanopia (blue-blind)
#5A0319
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #520f27; /* rgb */ color: rgb(82, 15, 39); /* oklch */ color: oklch(29.7% 0.099 4.2);
Tailwind
colors: {
custom: {
50: '#875460',
500: '#520f27',
950: '#000000',
},
}SCSS
$custom: #520f27; $custom-light: #875460; $custom-dark: #000000;
JSON
{
"hex": "#520f27",
"rgb": {
"r": 82,
"g": 15,
"b": 39
},
"hsl": {
"h": 338.507,
"s": 69.072,
"l": 19.02
},
"oklch": {
"l": 0.29656,
"c": 0.09921,
"h": 4.2
},
"luminance": 0.02282
}Semantic roles & 50–950 ramp
primary
#520F27
secondary
#318C6B
accent
#ECAD3C
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0305
muted
#7D7879