Skip to content
Vectorlight.net

#bd309f

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

HEX
#bd309f
RGB
189, 48, 159
HSL
312.77°, 59.49%, 46.47%
OKLCH
0.56 0.21 338.12
Names
—
Lists

Codes

FormatValue
HEX#bd309f
RGBrgb(189 48 159)
HSLhsl(312.77 59.49% 46.47%)
OKLCHoklch(0.56 0.21 338.12)
CMYKcmyk(0% 74.6% 15.87% 25.88%)
Android#ffbd309f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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