Skip to content
Vectorlight.net

#fc46f2

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

HEX
#fc46f2
RGB
252, 70, 242
HSL
303.3°, 96.81%, 63.14%
OKLCH
0.72 0.28 330.43
Names
—
Lists

Codes

FormatValue
HEX#fc46f2
RGBrgb(252 70 242)
HSLhsl(303.3 96.81% 63.14%)
OKLCHoklch(0.72 0.28 330.43)
CMYKcmyk(0% 72.22% 3.97% 1.18%)
Android#fffc46f2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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