Skip to content
Vectorlight.net

#a802a5

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

HEX
#a802a5
RGB
168, 2, 165
HSL
301.08°, 97.65%, 33.33%
OKLCH
0.51 0.23 329.31
Names
—
Lists

Codes

FormatValue
HEX#a802a5
RGBrgb(168 2 165)
HSLhsl(301.08 97.65% 33.33%)
OKLCHoklch(0.51 0.23 329.31)
CMYKcmyk(0% 98.81% 1.79% 34.12%)
Android#ffa802a5

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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