Skip to content
Vectorlight.net

#ba416b

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

HEX
#ba416b
RGB
186, 65, 107
HSL
339.17°, 48.21%, 49.22%
OKLCH
0.56 0.16 2.43
Names
—
Lists

Codes

FormatValue
HEX#ba416b
RGBrgb(186 65 107)
HSLhsl(339.17 48.21% 49.22%)
OKLCHoklch(0.56 0.16 2.43)
CMYKcmyk(0% 65.05% 42.47% 27.06%)
Android#ffba416b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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