Skip to content
Vectorlight.net

#bf1798

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

HEX
#bf1798
RGB
191, 23, 152
HSL
313.93°, 78.5%, 41.96%
OKLCH
0.55 0.23 340.66
Names
—
Lists

Codes

FormatValue
HEX#bf1798
RGBrgb(191 23 152)
HSLhsl(313.93 78.5% 41.96%)
OKLCHoklch(0.55 0.23 340.66)
CMYKcmyk(0% 87.96% 20.42% 25.1%)
Android#ffbf1798

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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