Skip to content
Vectorlight.net

#a9159f

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

HEX
#a9159f
RGB
169, 21, 159
HSL
304.05°, 77.89%, 37.25%
OKLCH
0.52 0.22 331.57
Names
—
Lists

Codes

FormatValue
HEX#a9159f
RGBrgb(169 21 159)
HSLhsl(304.05 77.89% 37.25%)
OKLCHoklch(0.52 0.22 331.57)
CMYKcmyk(0% 87.57% 5.92% 33.73%)
Android#ffa9159f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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