Skip to content
Vectorlight.net

#a52c8d

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#a52c8d
RGB
165, 44, 141
HSL
311.9°, 57.89%, 40.98%
OKLCH
0.51 0.19 337.19
Names
—
Lists

Codes

FormatValue
HEX#a52c8d
RGBrgb(165 44 141)
HSLhsl(311.9 57.89% 40.98%)
OKLCHoklch(0.51 0.19 337.19)
CMYKcmyk(0% 73.33% 14.55% 35.29%)
Android#ffa52c8d

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
6.27:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.34:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#a52c8d"
Gradient stop
<stop stop-color="#a52c8d"/>
CSS variable + fill
:root { --c: #a52c8d; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #a52c8d;
background-color: #a52c8d;
bg-[#a52c8d]