Skip to content
Vectorlight.net

#a71bac

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

HEX
#a71bac
RGB
167, 27, 172
HSL
297.93°, 72.86%, 39.02%
OKLCH
0.52 0.23 326.59
Names
—
Lists

Codes

FormatValue
HEX#a71bac
RGBrgb(167 27 172)
HSLhsl(297.93 72.86% 39.02%)
OKLCHoklch(0.52 0.23 326.59)
CMYKcmyk(2.91% 84.3% 0% 32.55%)
Android#ffa71bac

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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