#521727#521727
#521727 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.6% C 0.089 H 7.6°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).
Color values
| HEX | #521727 |
|---|---|
| RGB | rgb(82, 23, 39) |
| HSL | hsl(344, 56%, 21%) |
| HSV | hsv(344, 72%, 32%) |
| CMYK | cmyk(0%, 72%, 52.4%, 67.8%) |
| CIE-LAB | lab(18.16, 28.86, 4.48) |
| CIE-LCH | lch(18.16, 29.21, 8.82°) |
| OKLab | oklab(30.59% 0.0879 0.0117) |
| OKLCH | oklch(30.59% 0.089 7.6) |
| XYZ | xyz(4.1526, 2.5536, 2.1933) |
| Luminance | 0.0255 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 5.01
Maroon (survey)
#650021
ΔE00 5.99
Dark Maroon
#3C0008
ΔE00 7.26
Merlot
#730039
ΔE00 8.24
Wine
#722F37
ΔE00 8.56
Claret
#680018
ΔE00 8.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#521727 #175242
analogous
#521744 #521727 #522417
triadic
#521727 #275217 #172752
tetradic
#521727 #445217 #175242 #241752
square
#521727 #445217 #175242 #241752
split-complementary
#521727 #175224 #174452
monochromatic
#18070B #220A10 #521727 #82243E #B23254
Accessibility & contrast
On white
13.90
#521727 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#521727 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #521727
13.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##521727 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##521727 | 1.00 | 13.90 | 1.51 | 13.90 |
| #FFFFFF | 13.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#242527
Deuteranopia (green-blind)
#343126
Tritanopia (blue-blind)
#5A0E1D
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #521727; /* rgb */ color: rgb(82, 23, 39); /* oklch */ color: oklch(30.6% 0.089 7.6);
Tailwind
colors: {
custom: {
50: '#865860',
500: '#521727',
950: '#000000',
},
}SCSS
$custom: #521727; $custom-light: #865860; $custom-dark: #000000;
JSON
{
"hex": "#521727",
"rgb": {
"r": 82,
"g": 23,
"b": 39
},
"hsl": {
"h": 343.729,
"s": 56.19,
"l": 20.588
},
"oklch": {
"l": 0.30585,
"c": 0.08862,
"h": 7.6
},
"luminance": 0.02553
}Semantic roles & 50–950 ramp
primary
#521727
secondary
#3C8974
accent
#DFB648
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0305
muted
#7D7879