Skip to content
Vectorlight.net

#f157bf

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

HEX
#f157bf
RGB
241, 87, 191
HSL
319.48°, 84.62%, 64.31%
OKLCH
0.69 0.22 342.89
Names
—
Lists

Codes

FormatValue
HEX#f157bf
RGBrgb(241 87 191)
HSLhsl(319.48 84.62% 64.31%)
OKLCHoklch(0.69 0.22 342.89)
CMYKcmyk(0% 63.9% 20.75% 5.49%)
Android#fff157bf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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