Skip to content
Vectorlight.net

#ba529e

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

HEX
#ba529e
RGB
186, 82, 158
HSL
316.15°, 42.98%, 52.55%
OKLCH
0.6 0.16 339.07
Names
—
Lists

Codes

FormatValue
HEX#ba529e
RGBrgb(186 82 158)
HSLhsl(316.15 42.98% 52.55%)
OKLCHoklch(0.6 0.16 339.07)
CMYKcmyk(0% 55.91% 15.05% 27.06%)
Android#ffba529e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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