Skip to content
Vectorlight.net

#a42d79

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

HEX
#a42d79
RGB
164, 45, 121
HSL
321.68°, 56.94%, 40.98%
OKLCH
0.5 0.17 345.87
Names
—
Lists

Codes

FormatValue
HEX#a42d79
RGBrgb(164 45 121)
HSLhsl(321.68 56.94% 40.98%)
OKLCHoklch(0.5 0.17 345.87)
CMYKcmyk(0% 72.56% 26.22% 35.69%)
Android#ffa42d79

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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