Skip to content
Vectorlight.net

#ba5c8d

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

HEX
#ba5c8d
RGB
186, 92, 141
HSL
328.72°, 40.52%, 54.51%
OKLCH
0.6 0.13 349.34
Names
—
Lists

Codes

FormatValue
HEX#ba5c8d
RGBrgb(186 92 141)
HSLhsl(328.72 40.52% 54.51%)
OKLCHoklch(0.6 0.13 349.34)
CMYKcmyk(0% 50.54% 24.19% 27.06%)
Android#ffba5c8d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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