Skip to content
Vectorlight.net

#ba548c

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

HEX
#ba548c
RGB
186, 84, 140
HSL
327.06°, 42.5%, 52.94%
OKLCH
0.59 0.15 348.4
Names
—
Lists

Codes

FormatValue
HEX#ba548c
RGBrgb(186 84 140)
HSLhsl(327.06 42.5% 52.94%)
OKLCHoklch(0.59 0.15 348.4)
CMYKcmyk(0% 54.84% 24.73% 27.06%)
Android#ffba548c

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.43:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.73:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#ba548c"
Gradient stop
<stop stop-color="#ba548c"/>
CSS variable + fill
:root { --c: #ba548c; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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