Skip to content
Vectorlight.net

#a22b5d

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

HEX
#a22b5d
RGB
162, 43, 93
HSL
334.79°, 58.05%, 40.2%
OKLCH
0.49 0.16 359.49
Names
—
Lists

Codes

FormatValue
HEX#a22b5d
RGBrgb(162 43 93)
HSLhsl(334.79 58.05% 40.2%)
OKLCHoklch(0.49 0.16 359.49)
CMYKcmyk(0% 73.46% 42.59% 36.47%)
Android#ffa22b5d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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