Skip to content
Vectorlight.net

#a22482

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

HEX
#a22482
RGB
162, 36, 130
HSL
315.24°, 63.64%, 38.82%
OKLCH
0.5 0.19 340.56
Names
—
Lists

Codes

FormatValue
HEX#a22482
RGBrgb(162 36 130)
HSLhsl(315.24 63.64% 38.82%)
OKLCHoklch(0.5 0.19 340.56)
CMYKcmyk(0% 77.78% 19.75% 36.47%)
Android#ffa22482

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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