Skip to content
Vectorlight.net

#ba71ac

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

HEX
#ba71ac
RGB
186, 113, 172
HSL
311.51°, 34.6%, 58.63%
OKLCH
0.65 0.12 334.19
Names
—
Lists

Codes

FormatValue
HEX#ba71ac
RGBrgb(186 113 172)
HSLhsl(311.51 34.6% 58.63%)
OKLCHoklch(0.65 0.12 334.19)
CMYKcmyk(0% 39.25% 7.53% 27.06%)
Android#ffba71ac

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
3.47:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.04:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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

Recolor an SVG with this color

CSS

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