Skip to content
Vectorlight.net

#a22f5f

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

HEX
#a22f5f
RGB
162, 47, 95
HSL
334.96°, 55.02%, 40.98%
OKLCH
0.49 0.16 359.1
Names
—
Lists

Codes

FormatValue
HEX#a22f5f
RGBrgb(162 47 95)
HSLhsl(334.96 55.02% 40.98%)
OKLCHoklch(0.49 0.16 359.1)
CMYKcmyk(0% 70.99% 41.36% 36.47%)
Android#ffa22f5f

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.10: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="#a22f5f"
Gradient stop
<stop stop-color="#a22f5f"/>
CSS variable + fill
:root { --c: #a22f5f; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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