#520F26#520F26
#520F26 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.6% C 0.099 H 5.2°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).
Color values
| HEX | #520F26 |
|---|---|
| RGB | rgb(82, 15, 38) |
| HSL | hsl(339, 69%, 19%) |
| HSV | hsv(339, 82%, 32%) |
| CMYK | cmyk(0%, 81.7%, 53.7%, 67.8%) |
| CIE-LAB | lab(16.87, 32.23, 3.37) |
| CIE-LCH | lch(16.87, 32.41, 5.97°) |
| OKLab | oklab(29.62% 0.0985 0.0089) |
| OKLCH | oklch(29.62% 0.099 5.2) |
| XYZ | xyz(4.0007, 2.2760, 2.0620) |
| Luminance | 0.0227 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.35
Maroon (survey)
#650021
ΔE00 5.74
Dark Maroon
#3C0008
ΔE00 7.31
Merlot
#730039
ΔE00 7.34
Dark Plum
#3F012C
ΔE00 8.77
Bordeaux
#7B002C
ΔE00 8.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#520F26 #0F523B
analogous
#520F48 #520F26 #521A0F
triadic
#520F26 #26520F #0F2652
tetradic
#520F26 #48520F #0F523B #1A0F52
square
#520F26 #48520F #0F523B #1A0F52
split-complementary
#520F26 #0F521A #0F4852
monochromatic
#1A050C #1E060E #520F26 #86183E #B92256
Accessibility & contrast
On white
14.43
#520F26 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#520F26 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #520F26
14.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##520F26 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##520F26 | 1.00 | 14.43 | 1.46 | 14.43 |
| #FFFFFF | 14.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F2127
Deuteranopia (green-blind)
#312E24
Tritanopia (blue-blind)
#5A0219
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #520f26; /* rgb */ color: rgb(82, 15, 38); /* oklch */ color: oklch(29.6% 0.099 5.2);
Tailwind
colors: {
custom: {
50: '#875460',
500: '#520f26',
950: '#000000',
},
}SCSS
$custom: #520f26; $custom-light: #875460; $custom-dark: #000000;
JSON
{
"hex": "#520f26",
"rgb": {
"r": 82,
"g": 15,
"b": 38
},
"hsl": {
"h": 339.403,
"s": 69.072,
"l": 19.02
},
"oklch": {
"l": 0.29623,
"c": 0.09893,
"h": 5.2
},
"luminance": 0.02275
}Semantic roles & 50–950 ramp
primary
#520F26
secondary
#318C6D
accent
#ECAF3C
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879