Skip to content
Vectorlight.net

#ba348b

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

HEX
#ba348b
RGB
186, 52, 139
HSL
321.04°, 56.3%, 46.67%
OKLCH
0.55 0.19 345.29
Names
—
Lists

Codes

FormatValue
HEX#ba348b
RGBrgb(186 52 139)
HSLhsl(321.04 56.3% 46.67%)
OKLCHoklch(0.55 0.19 345.29)
CMYKcmyk(0% 72.04% 25.27% 27.06%)
Android#ffba348b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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