Skip to content
Vectorlight.net

#ba19bf

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

HEX
#ba19bf
RGB
186, 25, 191
HSL
298.19°, 76.85%, 42.35%
OKLCH
0.56 0.25 326.8
Names
—
Lists

Codes

FormatValue
HEX#ba19bf
RGBrgb(186 25 191)
HSLhsl(298.19 76.85% 42.35%)
OKLCHoklch(0.56 0.25 326.8)
CMYKcmyk(2.62% 86.91% 0% 25.1%)
Android#ffba19bf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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