Skip to content
Vectorlight.net

#ba337e

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

HEX
#ba337e
RGB
186, 51, 126
HSL
326.67°, 56.96%, 46.47%
OKLCH
0.55 0.18 350.91
Names
—
Lists

Codes

FormatValue
HEX#ba337e
RGBrgb(186 51 126)
HSLhsl(326.67 56.96% 46.47%)
OKLCHoklch(0.55 0.18 350.91)
CMYKcmyk(0% 72.58% 32.26% 27.06%)
Android#ffba337e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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