Skip to content
Vectorlight.net

#ba416f

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

HEX
#ba416f
RGB
186, 65, 111
HSL
337.19°, 48.21%, 49.22%
OKLCH
0.56 0.16 0.32
Names
—
Lists

Codes

FormatValue
HEX#ba416f
RGBrgb(186 65 111)
HSLhsl(337.19 48.21% 49.22%)
OKLCHoklch(0.56 0.16 0.32)
CMYKcmyk(0% 65.05% 40.32% 27.06%)
Android#ffba416f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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