Skip to content
Vectorlight.net

#fc5f97

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

HEX
#fc5f97
RGB
252, 95, 151
HSL
338.6°, 96.32%, 68.04%
OKLCH
0.7 0.2 1.48
Names
—
Lists

Codes

FormatValue
HEX#fc5f97
RGBrgb(252 95 151)
HSLhsl(338.6 96.32% 68.04%)
OKLCHoklch(0.7 0.2 1.48)
CMYKcmyk(0% 62.3% 40.08% 1.18%)
Android#fffc5f97

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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