Skip to content
Vectorlight.net

#ba489c

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

HEX
#ba489c
RGB
186, 72, 156
HSL
315.79°, 45.24%, 50.59%
OKLCH
0.58 0.18 339.31
Names
—
Lists

Codes

FormatValue
HEX#ba489c
RGBrgb(186 72 156)
HSLhsl(315.79 45.24% 50.59%)
OKLCHoklch(0.58 0.18 339.31)
CMYKcmyk(0% 61.29% 16.13% 27.06%)
Android#ffba489c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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