Skip to content
Vectorlight.net

#f171ca

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

HEX
#f171ca
RGB
241, 113, 202
HSL
318.28°, 82.05%, 69.41%
OKLCH
0.73 0.19 340.6
Names
—
Lists

Codes

FormatValue
HEX#f171ca
RGBrgb(241 113 202)
HSLhsl(318.28 82.05% 69.41%)
OKLCHoklch(0.73 0.19 340.6)
CMYKcmyk(0% 53.11% 16.18% 5.49%)
Android#fff171ca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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