Skip to content
Vectorlight.net

#a42174

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

HEX
#a42174
RGB
164, 33, 116
HSL
321.98°, 66.5%, 38.63%
OKLCH
0.49 0.18 347.35
Names
—
Lists

Codes

FormatValue
HEX#a42174
RGBrgb(164 33 116)
HSLhsl(321.98 66.5% 38.63%)
OKLCHoklch(0.49 0.18 347.35)
CMYKcmyk(0% 79.88% 29.27% 35.69%)
Android#ffa42174

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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