#521528#521528
#521528 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.4% C 0.092 H 5.5°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).
Color values
| HEX | #521528 |
|---|---|
| RGB | rgb(82, 21, 40) |
| HSL | hsl(341, 59%, 20%) |
| HSV | hsv(341, 74%, 32%) |
| CMYK | cmyk(0%, 74.4%, 51.2%, 67.8%) |
| CIE-LAB | lab(17.85, 29.91, 3.32) |
| CIE-LCH | lch(17.85, 30.10, 6.33°) |
| OKLab | oklab(30.36% 0.0913 0.0088) |
| OKLCH | oklch(30.36% 0.092 5.5) |
| XYZ | xyz(4.1312, 2.4839, 2.2690) |
| Luminance | 0.0248 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.96
Maroon (survey)
#650021
ΔE00 6.17
Dark Maroon
#3C0008
ΔE00 7.59
Merlot
#730039
ΔE00 7.73
Wine
#722F37
ΔE00 9.07
Bordeaux
#7B002C
ΔE00 9.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#521528 #15523F
analogous
#521547 #521528 #522015
triadic
#521528 #285215 #152852
tetradic
#521528 #475215 #15523F #201552
square
#521528 #475215 #15523F #201552
split-complementary
#521528 #155220 #154752
monochromatic
#18060C #210910 #521528 #832140 #B32E58
Accessibility & contrast
On white
14.03
#521528 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#521528 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #521528
14.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##521528 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##521528 | 1.00 | 14.03 | 1.50 | 14.03 |
| #FFFFFF | 14.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#222428
Deuteranopia (green-blind)
#333027
Tritanopia (blue-blind)
#5A0B1D
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #521528; /* rgb */ color: rgb(82, 21, 40); /* oklch */ color: oklch(30.4% 0.092 5.5);
Tailwind
colors: {
custom: {
50: '#865761',
500: '#521528',
950: '#000000',
},
}SCSS
$custom: #521528; $custom-light: #865761; $custom-dark: #000000;
JSON
{
"hex": "#521528",
"rgb": {
"r": 82,
"g": 21,
"b": 40
},
"hsl": {
"h": 341.311,
"s": 59.223,
"l": 20.196
},
"oklch": {
"l": 0.30362,
"c": 0.0917,
"h": 5.5
},
"luminance": 0.02483
}Semantic roles & 50–950 ramp
primary
#521528
secondary
#398A71
accent
#E2B145
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0305
muted
#7D7879