#520E26#520E26
#520E26 is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.5% C 0.100 H 4.8°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).
Color values
| HEX | #520E26 |
|---|---|
| RGB | rgb(82, 14, 38) |
| HSL | hsl(339, 71%, 19%) |
| HSV | hsv(339, 83%, 32%) |
| CMYK | cmyk(0%, 82.9%, 53.7%, 67.8%) |
| CIE-LAB | lab(16.74, 32.61, 3.18) |
| CIE-LCH | lch(16.74, 32.76, 5.57°) |
| OKLab | oklab(29.53% 0.0997 0.0084) |
| OKLCH | oklch(29.53% 0.1 4.8) |
| XYZ | xyz(3.9869, 2.2484, 2.0574) |
| Luminance | 0.0225 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.34
Maroon (survey)
#650021
ΔE00 5.78
Merlot
#730039
ΔE00 7.25
Dark Maroon
#3C0008
ΔE00 7.38
Dark Plum
#3F012C
ΔE00 8.63
Plum (survey)
#580F41
ΔE00 8.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#520E26 #0E523A
analogous
#520E48 #520E26 #52180E
triadic
#520E26 #26520E #0E2652
tetradic
#520E26 #48520E #0E523A #180E52
square
#520E26 #48520E #0E523A #180E52
split-complementary
#520E26 #0E5218 #0E4852
monochromatic
#1A040C #1E050E #520E26 #86173E #BB2056
Accessibility & contrast
On white
14.49
#520E26 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#520E26 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #520E26
14.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##520E26 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##520E26 | 1.00 | 14.49 | 1.45 | 14.49 |
| #FFFFFF | 14.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F2127
Deuteranopia (green-blind)
#312E24
Tritanopia (blue-blind)
#5A0118
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #520e26; /* rgb */ color: rgb(82, 14, 38); /* oklch */ color: oklch(29.5% 0.100 4.8);
Tailwind
colors: {
custom: {
50: '#875460',
500: '#520e26',
950: '#000000',
},
}SCSS
$custom: #520e26; $custom-light: #875460; $custom-dark: #000000;
JSON
{
"hex": "#520e26",
"rgb": {
"r": 82,
"g": 14,
"b": 38
},
"hsl": {
"h": 338.824,
"s": 70.833,
"l": 18.824
},
"oklch": {
"l": 0.29525,
"c": 0.10008,
"h": 4.8
},
"luminance": 0.02248
}Semantic roles & 50–950 ramp
primary
#520E26
secondary
#2F8C6C
accent
#EEAE3A
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879