Skip to content
Vectorlight.net

#ba147e

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

HEX
#ba147e
RGB
186, 20, 126
HSL
321.69°, 80.58%, 40.39%
OKLCH
0.53 0.21 348.94
Names
—
Lists

Codes

FormatValue
HEX#ba147e
RGBrgb(186 20 126)
HSLhsl(321.69 80.58% 40.39%)
OKLCHoklch(0.53 0.21 348.94)
CMYKcmyk(0% 89.25% 32.26% 27.06%)
Android#ffba147e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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