Skip to content
Vectorlight.net

#fc318a

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

HEX
#fc318a
RGB
252, 49, 138
HSL
333.69°, 97.13%, 59.02%
OKLCH
0.66 0.24 0.71
Names
—
Lists

Codes

FormatValue
HEX#fc318a
RGBrgb(252 49 138)
HSLhsl(333.69 97.13% 59.02%)
OKLCHoklch(0.66 0.24 0.71)
CMYKcmyk(0% 80.56% 45.24% 1.18%)
Android#fffc318a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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