Skip to content
Vectorlight.net

#ba0bbd

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

HEX
#ba0bbd
RGB
186, 11, 189
HSL
298.99°, 89%, 39.22%
OKLCH
0.56 0.25 327.46
Names
—
Lists

Codes

FormatValue
HEX#ba0bbd
RGBrgb(186 11 189)
HSLhsl(298.99 89% 39.22%)
OKLCHoklch(0.56 0.25 327.46)
CMYKcmyk(1.59% 94.18% 0% 25.88%)
Android#ffba0bbd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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