Skip to content
Vectorlight.net

#f157aa

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

HEX
#f157aa
RGB
241, 87, 170
HSL
327.66°, 84.62%, 64.31%
OKLCH
0.68 0.21 350.54
Names
—
Lists

Codes

FormatValue
HEX#f157aa
RGBrgb(241 87 170)
HSLhsl(327.66 84.62% 64.31%)
OKLCHoklch(0.68 0.21 350.54)
CMYKcmyk(0% 63.9% 29.46% 5.49%)
Android#fff157aa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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