Skip to content
Vectorlight.net

#bd0798

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

HEX
#bd0798
RGB
189, 7, 152
HSL
312.2°, 92.86%, 38.43%
OKLCH
0.54 0.23 339.92
Names
—
Lists

Codes

FormatValue
HEX#bd0798
RGBrgb(189 7 152)
HSLhsl(312.2 92.86% 38.43%)
OKLCHoklch(0.54 0.23 339.92)
CMYKcmyk(0% 96.3% 19.58% 25.88%)
Android#ffbd0798

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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