Skip to content
Vectorlight.net

#fc45f5

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

HEX
#fc45f5
RGB
252, 69, 245
HSL
302.3°, 96.83%, 62.94%
OKLCH
0.72 0.28 329.7
Names
—
Lists

Codes

FormatValue
HEX#fc45f5
RGBrgb(252 69 245)
HSLhsl(302.3 96.83% 62.94%)
OKLCHoklch(0.72 0.28 329.7)
CMYKcmyk(0% 72.62% 2.78% 1.18%)
Android#fffc45f5

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.30: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="#fc45f5"
Gradient stop
<stop stop-color="#fc45f5"/>
CSS variable + fill
:root { --c: #fc45f5; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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