Skip to content
Vectorlight.net

#ba0fc0

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

HEX
#ba0fc0
RGB
186, 15, 192
HSL
297.97°, 85.51%, 40.59%
OKLCH
0.56 0.25 326.59
Names
—
Lists

Codes

FormatValue
HEX#ba0fc0
RGBrgb(186 15 192)
HSLhsl(297.97 85.51% 40.59%)
OKLCHoklch(0.56 0.25 326.59)
CMYKcmyk(3.13% 92.19% 0% 24.71%)
Android#ffba0fc0

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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