Skip to content
Vectorlight.net

#ba147d

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

HEX
#ba147d
RGB
186, 20, 125
HSL
322.05°, 80.58%, 40.39%
OKLCH
0.53 0.21 349.34
Names
—
Lists

Codes

FormatValue
HEX#ba147d
RGBrgb(186 20 125)
HSLhsl(322.05 80.58% 40.39%)
OKLCHoklch(0.53 0.21 349.34)
CMYKcmyk(0% 89.25% 32.8% 27.06%)
Android#ffba147d

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
6.02: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="#ba147d"
Gradient stop
<stop stop-color="#ba147d"/>
CSS variable + fill
:root { --c: #ba147d; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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