Skip to content
Vectorlight.net

#a81981

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

HEX
#a81981
RGB
168, 25, 129
HSL
316.36°, 74.09%, 37.84%
OKLCH
0.5 0.2 342.58
Names
—
Lists

Codes

FormatValue
HEX#a81981
RGBrgb(168 25 129)
HSLhsl(316.36 74.09% 37.84%)
OKLCHoklch(0.5 0.2 342.58)
CMYKcmyk(0% 85.12% 23.21% 34.12%)
Android#ffa81981

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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