Skip to content
Vectorlight.net

#a22992

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

HEX
#a22992
RGB
162, 41, 146
HSL
307.93°, 59.61%, 39.8%
OKLCH
0.51 0.19 334.03
Names
—
Lists

Codes

FormatValue
HEX#a22992
RGBrgb(162 41 146)
HSLhsl(307.93 59.61% 39.8%)
OKLCHoklch(0.51 0.19 334.03)
CMYKcmyk(0% 74.69% 9.88% 36.47%)
Android#ffa22992

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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