Skip to content
Vectorlight.net

#ba296c

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

HEX
#ba296c
RGB
186, 41, 108
HSL
332.28°, 63.88%, 44.51%
OKLCH
0.53 0.19 358.03
Names
—
Lists

Codes

FormatValue
HEX#ba296c
RGBrgb(186 41 108)
HSLhsl(332.28 63.88% 44.51%)
OKLCHoklch(0.53 0.19 358.03)
CMYKcmyk(0% 77.96% 41.94% 27.06%)
Android#ffba296c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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