#520E27#520E27
#520E27 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.6% C 0.100 H 3.8°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).
Color values
| HEX | #520E27 |
|---|---|
| RGB | rgb(82, 14, 39) |
| HSL | hsl(338, 71%, 19%) |
| HSV | hsv(338, 83%, 32%) |
| CMYK | cmyk(0%, 82.9%, 52.4%, 67.8%) |
| CIE-LAB | lab(16.77, 32.71, 2.50) |
| CIE-LCH | lch(16.77, 32.80, 4.37°) |
| OKLab | oklab(29.56% 0.1002 0.0067) |
| OKLCH | oklch(29.56% 0.1 3.8) |
| XYZ | xyz(4.0033, 2.2549, 2.1435) |
| Luminance | 0.0225 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.59
Maroon (survey)
#650021
ΔE00 6.07
Merlot
#730039
ΔE00 7.11
Dark Maroon
#3C0008
ΔE00 7.69
Dark Plum
#3F012C
ΔE00 8.27
Plum (survey)
#580F41
ΔE00 8.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#520E27 #0E5239
analogous
#520E49 #520E27 #52170E
triadic
#520E27 #27520E #0E2752
tetradic
#520E27 #49520E #0E5239 #170E52
square
#520E27 #49520E #0E5239 #170E52
split-complementary
#520E27 #0E5217 #0E4952
monochromatic
#1A040C #1E050E #520E27 #861740 #BB2059
Accessibility & contrast
On white
14.47
#520E27 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#520E27 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #520E27
14.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##520E27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##520E27 | 1.00 | 14.47 | 1.45 | 14.47 |
| #FFFFFF | 14.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E2128
Deuteranopia (green-blind)
#312E25
Tritanopia (blue-blind)
#5A0219
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #520e27; /* rgb */ color: rgb(82, 14, 39); /* oklch */ color: oklch(29.6% 0.100 3.8);
Tailwind
colors: {
custom: {
50: '#875460',
500: '#520e27',
950: '#000000',
},
}SCSS
$custom: #520e27; $custom-light: #875460; $custom-dark: #000000;
JSON
{
"hex": "#520e27",
"rgb": {
"r": 82,
"g": 14,
"b": 39
},
"hsl": {
"h": 337.941,
"s": 70.833,
"l": 18.824
},
"oklch": {
"l": 0.29559,
"c": 0.10038,
"h": 3.8
},
"luminance": 0.02254
}Semantic roles & 50–950 ramp
primary
#520E27
secondary
#2F8C6A
accent
#EEAC3A
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0305
muted
#7D7879