#521729#521729
#521729 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.6% C 0.089 H 5.4°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).
Color values
| HEX | #521729 |
|---|---|
| RGB | rgb(82, 23, 41) |
| HSL | hsl(342, 56%, 21%) |
| HSV | hsv(342, 72%, 32%) |
| CMYK | cmyk(0%, 72%, 50%, 67.8%) |
| CIE-LAB | lab(18.22, 29.08, 3.14) |
| CIE-LCH | lch(18.22, 29.25, 6.16°) |
| OKLab | oklab(30.65% 0.0887 0.0084) |
| OKLCH | oklch(30.65% 0.089 5.4) |
| XYZ | xyz(4.1866, 2.5672, 2.3725) |
| Luminance | 0.0257 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 5.29
Maroon (survey)
#650021
ΔE00 6.44
Dark Maroon
#3C0008
ΔE00 7.81
Merlot
#730039
ΔE00 7.87
Wine
#722F37
ΔE00 8.89
Plum (survey)
#580F41
ΔE00 9.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#521729 #175240
analogous
#521746 #521729 #522217
triadic
#521729 #295217 #172952
tetradic
#521729 #465217 #175240 #221752
square
#521729 #465217 #175240 #221752
split-complementary
#521729 #175222 #174652
monochromatic
#18070C #220A11 #521729 #822441 #B23259
Accessibility & contrast
On white
13.88
#521729 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#521729 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #521729
13.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##521729 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##521729 | 1.00 | 13.88 | 1.51 | 13.88 |
| #FFFFFF | 13.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#242529
Deuteranopia (green-blind)
#333128
Tritanopia (blue-blind)
#5A0F1E
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #521729; /* rgb */ color: rgb(82, 23, 41); /* oklch */ color: oklch(30.6% 0.089 5.4);
Tailwind
colors: {
custom: {
50: '#865862',
500: '#521729',
950: '#000000',
},
}SCSS
$custom: #521729; $custom-light: #865862; $custom-dark: #000000;
JSON
{
"hex": "#521729",
"rgb": {
"r": 82,
"g": 23,
"b": 41
},
"hsl": {
"h": 341.695,
"s": 56.19,
"l": 20.588
},
"oklch": {
"l": 0.3065,
"c": 0.08911,
"h": 5.4
},
"luminance": 0.02567
}Semantic roles & 50–950 ramp
primary
#521729
secondary
#3C8971
accent
#DFB148
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0305
muted
#7D7879