Skip to content
Vectorlight.net

#a22d94

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

HEX
#a22d94
RGB
162, 45, 148
HSL
307.18°, 56.52%, 40.59%
OKLCH
0.51 0.19 333.28
Names
—
Lists

Codes

FormatValue
HEX#a22d94
RGBrgb(162 45 148)
HSLhsl(307.18 56.52% 40.59%)
OKLCHoklch(0.51 0.19 333.28)
CMYKcmyk(0% 72.22% 8.64% 36.47%)
Android#ffa22d94

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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