Skip to content
Vectorlight.net

#a42199

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

HEX
#a42199
RGB
164, 33, 153
HSL
305.04°, 66.5%, 38.63%
OKLCH
0.51 0.21 332.02
Names
—
Lists

Codes

FormatValue
HEX#a42199
RGBrgb(164 33 153)
HSLhsl(305.04 66.5% 38.63%)
OKLCHoklch(0.51 0.21 332.02)
CMYKcmyk(0% 79.88% 6.71% 35.69%)
Android#ffa42199

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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