Skip to content
Vectorlight.net

#ba537e

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

HEX
#ba537e
RGB
186, 83, 126
HSL
334.95°, 42.74%, 52.75%
OKLCH
0.58 0.14 356.15
Names
—
Lists

Codes

FormatValue
HEX#ba537e
RGBrgb(186 83 126)
HSLhsl(334.95 42.74% 52.75%)
OKLCHoklch(0.58 0.14 356.15)
CMYKcmyk(0% 55.38% 32.26% 27.06%)
Android#ffba537e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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