#521527#521527
#521527 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.3% C 0.091 H 6.6°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).
Color values
| HEX | #521527 |
|---|---|
| RGB | rgb(82, 21, 39) |
| HSL | hsl(342, 59%, 20%) |
| HSV | hsv(342, 74%, 32%) |
| CMYK | cmyk(0%, 74.4%, 52.4%, 67.8%) |
| CIE-LAB | lab(17.82, 29.81, 3.99) |
| CIE-LCH | lch(17.82, 30.07, 7.63°) |
| OKLab | oklab(30.33% 0.0909 0.0105) |
| OKLCH | oklch(30.33% 0.091 6.6) |
| XYZ | xyz(4.1144, 2.4772, 2.1805) |
| Luminance | 0.0248 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.80
Maroon (survey)
#650021
ΔE00 5.93
Dark Maroon
#3C0008
ΔE00 7.31
Merlot
#730039
ΔE00 7.90
Wine
#722F37
ΔE00 8.90
Claret
#680018
ΔE00 8.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#521527 #155240
analogous
#521545 #521527 #522115
triadic
#521527 #275215 #152752
tetradic
#521527 #455215 #155240 #211552
square
#521527 #455215 #155240 #211552
split-complementary
#521527 #155221 #154552
monochromatic
#18060C #210910 #521527 #83213E #B32E55
Accessibility & contrast
On white
14.04
#521527 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#521527 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #521527
14.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##521527 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##521527 | 1.00 | 14.04 | 1.50 | 14.04 |
| #FFFFFF | 14.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#232427
Deuteranopia (green-blind)
#333026
Tritanopia (blue-blind)
#5A0B1C
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #521527; /* rgb */ color: rgb(82, 21, 39); /* oklch */ color: oklch(30.3% 0.091 6.6);
Tailwind
colors: {
custom: {
50: '#865760',
500: '#521527',
950: '#000000',
},
}SCSS
$custom: #521527; $custom-light: #865760; $custom-dark: #000000;
JSON
{
"hex": "#521527",
"rgb": {
"r": 82,
"g": 21,
"b": 39
},
"hsl": {
"h": 342.295,
"s": 59.223,
"l": 20.196
},
"oklch": {
"l": 0.30329,
"c": 0.09145,
"h": 6.6
},
"luminance": 0.02477
}Semantic roles & 50–950 ramp
primary
#521527
secondary
#398A72
accent
#E2B445
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0305
muted
#7D7879