#A52F5A#A52F5A
#A52F5A is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.6% C 0.157 H 2.7°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).
Color values
| HEX | #A52F5A |
|---|---|
| RGB | rgb(165, 47, 90) |
| HSL | hsl(338, 56%, 42%) |
| HSV | hsv(338, 72%, 65%) |
| CMYK | cmyk(0%, 71.5%, 45.5%, 35.3%) |
| CIE-LAB | lab(39.20, 51.23, 2.63) |
| CIE-LCH | lch(39.20, 51.30, 2.94°) |
| OKLab | oklab(49.63% 0.1568 0.0074) |
| OKLCH | oklch(49.63% 0.157 2.7) |
| XYZ | xyz(18.3804, 10.7729, 10.7824) |
| Luminance | 0.1077 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 4.41
Violet Red
#A50055
ΔE00 4.54
Purplish Red
#B0054B
ΔE00 4.79
Berry
#990F4B
ΔE00 5.19
Raspberry (survey)
#B00149
ΔE00 5.21
Dark Fuchsia
#9D0759
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A52F5A #2FA57A
analogous
#A52F95 #A52F5A #A53F2F
triadic
#A52F5A #5AA52F #2F5AA5
tetradic
#A52F5A #95A52F #2FA57A #3F2FA5
square
#A52F5A #95A52F #2FA57A #3F2FA5
split-complementary
#A52F5A #2FA53F #2F95A5
monochromatic
#461426 #752140 #A52F5A #CB4777 #D8769A
Accessibility & contrast
On white
6.66
#A52F5A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#A52F5A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A52F5A
6.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A52F5A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A52F5A | 1.00 | 6.66 | 3.15 | 6.66 |
| #FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494E5B
Deuteranopia (green-blind)
#686557
Tritanopia (blue-blind)
#B31D41
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #a52f5a; /* rgb */ color: rgb(165, 47, 90); /* oklch */ color: oklch(49.6% 0.157 2.7);
Tailwind
colors: {
custom: {
50: '#c57188',
500: '#a52f5a',
950: '#000000',
},
}SCSS
$custom: #a52f5a; $custom-light: #c57188; $custom-dark: #000000;
JSON
{
"hex": "#a52f5a",
"rgb": {
"r": 165,
"g": 47,
"b": 90
},
"hsl": {
"h": 338.136,
"s": 55.66,
"l": 41.569
},
"oklch": {
"l": 0.49625,
"c": 0.15699,
"h": 2.7
},
"luminance": 0.10771
}Semantic roles & 50–950 ramp
primary
#A52F5A
secondary
#70C0A3
accent
#DFA849
background
#FCF7F8
surface
#F9EDEF
border
#D2C8CA
text
#14080B
muted
#827B7C