Skip to content
Vectorlight.net

#ba05bf

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

HEX
#ba05bf
RGB
186, 5, 191
HSL
298.39°, 94.9%, 38.43%
OKLCH
0.56 0.26 326.92
Names
—
Lists

Codes

FormatValue
HEX#ba05bf
RGBrgb(186 5 191)
HSLhsl(298.39 94.9% 38.43%)
OKLCHoklch(0.56 0.26 326.92)
CMYKcmyk(2.62% 97.38% 0% 25.1%)
Android#ffba05bf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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