Skip to content
Vectorlight.net

#ba19cb

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

HEX
#ba19cb
RGB
186, 25, 203
HSL
294.27°, 78.07%, 44.71%
OKLCH
0.57 0.26 323.47
Names
—
Lists

Codes

FormatValue
HEX#ba19cb
RGBrgb(186 25 203)
HSLhsl(294.27 78.07% 44.71%)
OKLCHoklch(0.57 0.26 323.47)
CMYKcmyk(8.37% 87.68% 0% 20.39%)
Android#ffba19cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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