Skip to content
Vectorlight.net

#ba046f

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

HEX
#ba046f
RGB
186, 4, 111
HSL
324.73°, 95.79%, 37.25%
OKLCH
0.52 0.21 354.52
Names
—
Lists

Codes

FormatValue
HEX#ba046f
RGBrgb(186 4 111)
HSLhsl(324.73 95.79% 37.25%)
OKLCHoklch(0.52 0.21 354.52)
CMYKcmyk(0% 97.85% 40.32% 27.06%)
Android#ffba046f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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