Skip to content
Vectorlight.net

#bc309e

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

HEX
#bc309e
RGB
188, 48, 158
HSL
312.86°, 59.32%, 46.27%
OKLCH
0.56 0.21 338.18
Names
—
Lists

Codes

FormatValue
HEX#bc309e
RGBrgb(188 48 158)
HSLhsl(312.86 59.32% 46.27%)
OKLCHoklch(0.56 0.21 338.18)
CMYKcmyk(0% 74.47% 15.96% 26.27%)
Android#ffbc309e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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