Skip to content
Vectorlight.net

#ba528a

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

HEX
#ba528a
RGB
186, 82, 138
HSL
327.69°, 42.98%, 52.55%
OKLCH
0.59 0.15 349.15
Names
—
Lists

Codes

FormatValue
HEX#ba528a
RGBrgb(186 82 138)
HSLhsl(327.69 42.98% 52.55%)
OKLCHoklch(0.59 0.15 349.15)
CMYKcmyk(0% 55.91% 25.81% 27.06%)
Android#ffba528a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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