Skip to content
Vectorlight.net

#ba8ca2

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

HEX
#ba8ca2
RGB
186, 140, 162
HSL
331.3°, 25%, 63.92%
OKLCH
0.69 0.06 348.58
Names
—
Lists

Codes

FormatValue
HEX#ba8ca2
RGBrgb(186 140 162)
HSLhsl(331.3 25% 63.92%)
OKLCHoklch(0.69 0.06 348.58)
CMYKcmyk(0% 24.73% 12.9% 27.06%)
Android#ffba8ca2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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