Skip to content
Vectorlight.net

#ba3192

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

HEX
#ba3192
RGB
186, 49, 146
HSL
317.52°, 58.3%, 46.08%
OKLCH
0.55 0.2 342.23
Names
—
Lists

Codes

FormatValue
HEX#ba3192
RGBrgb(186 49 146)
HSLhsl(317.52 58.3% 46.08%)
OKLCHoklch(0.55 0.2 342.23)
CMYKcmyk(0% 73.66% 21.51% 27.06%)
Android#ffba3192

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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