Skip to content
Vectorlight.net

#a5308a

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

HEX
#a5308a
RGB
165, 48, 138
HSL
313.85°, 54.93%, 41.76%
OKLCH
0.52 0.18 338.6
Names
—
Lists

Codes

FormatValue
HEX#a5308a
RGBrgb(165 48 138)
HSLhsl(313.85 54.93% 41.76%)
OKLCHoklch(0.52 0.18 338.6)
CMYKcmyk(0% 70.91% 16.36% 35.29%)
Android#ffa5308a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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