Skip to content
Vectorlight.net

#fc2d87

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

HEX
#fc2d87
RGB
252, 45, 135
HSL
333.91°, 97.18%, 58.24%
OKLCH
0.66 0.24 1.43
Names
—
Lists

Codes

FormatValue
HEX#fc2d87
RGBrgb(252 45 135)
HSLhsl(333.91 97.18% 58.24%)
OKLCHoklch(0.66 0.24 1.43)
CMYKcmyk(0% 82.14% 46.43% 1.18%)
Android#fffc2d87

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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