#A52056#A52056
#A52056 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.2% C 0.171 H 2.3°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #A52056 |
|---|---|
| RGB | rgb(165, 32, 86) |
| HSL | hsl(336, 68%, 39%) |
| HSV | hsv(336, 81%, 65%) |
| CMYK | cmyk(0%, 80.6%, 47.9%, 35.3%) |
| CIE-LAB | lab(37.31, 55.82, 2.46) |
| CIE-LCH | lch(37.31, 55.87, 2.52°) |
| OKLab | oklab(48.2% 0.1713 0.0069) |
| OKLCH | oklch(48.2% 0.171 2.3) |
| XYZ | xyz(17.7148, 9.7067, 9.7431) |
| Luminance | 0.0970 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 2.51
Berry
#990F4B
ΔE00 3.43
Purplish Red
#B0054B
ΔE00 3.94
Purple Red
#990147
ΔE00 4.22
Dark Fuchsia
#9D0759
ΔE00 4.26
Raspberry (survey)
#B00149
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A52056 #20A56F
analogous
#A52098 #A52056 #A52C20
triadic
#A52056 #56A520 #2056A5
tetradic
#A52056 #98A520 #20A56F #2C20A5
square
#A52056 #98A520 #20A56F #2C20A5
split-complementary
#A52056 #20A52C #2098A5
monochromatic
#3E0C21 #72163B #A52056 #D62C71 #E05F94
Accessibility & contrast
On white
7.14
#A52056 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#A52056 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A52056
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A52056 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A52056 | 1.00 | 7.14 | 2.94 | 7.14 |
| #FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#414757
Deuteranopia (green-blind)
#656153
Tritanopia (blue-blind)
#B40038
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #a52056; /* rgb */ color: rgb(165, 32, 86); /* oklch */ color: oklch(48.2% 0.171 2.3);
Tailwind
colors: {
custom: {
50: '#c56a85',
500: '#a52056',
950: '#000000',
},
}SCSS
$custom: #a52056; $custom-light: #c56a85; $custom-dark: #000000;
JSON
{
"hex": "#a52056",
"rgb": {
"r": 165,
"g": 32,
"b": 86
},
"hsl": {
"h": 335.639,
"s": 67.513,
"l": 38.627
},
"oklch": {
"l": 0.482,
"c": 0.17146,
"h": 2.3
},
"luminance": 0.09704
}Semantic roles & 50–950 ramp
primary
#A52056
secondary
#5CC59A
accent
#EAA43D
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#14070B
muted
#827A7C