Skip to content
Vectorlight.net

#f171cf

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

HEX
#f171cf
RGB
241, 113, 207
HSL
315.94°, 82.05%, 69.41%
OKLCH
0.73 0.19 338.71
Names
—
Lists

Codes

FormatValue
HEX#f171cf
RGBrgb(241 113 207)
HSLhsl(315.94 82.05% 69.41%)
OKLCHoklch(0.73 0.19 338.71)
CMYKcmyk(0% 53.11% 14.11% 5.49%)
Android#fff171cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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