Skip to content
Vectorlight.net

#ba499a

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

HEX
#ba499a
RGB
186, 73, 154
HSL
316.99°, 45.02%, 50.78%
OKLCH
0.58 0.17 340.26
Names
—
Lists

Codes

FormatValue
HEX#ba499a
RGBrgb(186 73 154)
HSLhsl(316.99 45.02% 50.78%)
OKLCHoklch(0.58 0.17 340.26)
CMYKcmyk(0% 60.75% 17.2% 27.06%)
Android#ffba499a

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.65:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.50:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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

Recolor an SVG with this color

CSS

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