Skip to content
Vectorlight.net

#ba5785

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

HEX
#ba5785
RGB
186, 87, 133
HSL
332.12°, 41.77%, 53.53%
OKLCH
0.59 0.14 352.98
Names
—
Lists

Codes

FormatValue
HEX#ba5785
RGBrgb(186 87 133)
HSLhsl(332.12 41.77% 53.53%)
OKLCHoklch(0.59 0.14 352.98)
CMYKcmyk(0% 53.23% 28.49% 27.06%)
Android#ffba5785

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

Recolor an SVG with this color

CSS

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