Skip to content
Vectorlight.net

#ba296f

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

HEX
#ba296f
RGB
186, 41, 111
HSL
331.03°, 63.88%, 44.51%
OKLCH
0.53 0.19 356.66
Names
—
Lists

Codes

FormatValue
HEX#ba296f
RGBrgb(186 41 111)
HSLhsl(331.03 63.88% 44.51%)
OKLCHoklch(0.53 0.19 356.66)
CMYKcmyk(0% 77.96% 40.32% 27.06%)
Android#ffba296f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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