Skip to content
Vectorlight.net

#a50571

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

HEX
#a50571
RGB
165, 5, 113
HSL
319.5°, 94.12%, 33.33%
OKLCH
0.48 0.2 347.86
Names
—
Lists

Codes

FormatValue
HEX#a50571
RGBrgb(165 5 113)
HSLhsl(319.5 94.12% 33.33%)
OKLCHoklch(0.48 0.2 347.86)
CMYKcmyk(0% 96.97% 31.52% 35.29%)
Android#ffa50571

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
7.34:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.86:1
Fail AA normal text
Fail 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="#a50571"
Gradient stop
<stop stop-color="#a50571"/>
CSS variable + fill
:root { --c: #a50571; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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