Skip to content
Vectorlight.net

#fc18a2

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

HEX
#fc18a2
RGB
252, 24, 162
HSL
323.68°, 97.44%, 54.12%
OKLCH
0.66 0.26 351.84
Names
—
Lists

Codes

FormatValue
HEX#fc18a2
RGBrgb(252 24 162)
HSLhsl(323.68 97.44% 54.12%)
OKLCHoklch(0.66 0.26 351.84)
CMYKcmyk(0% 90.48% 35.71% 1.18%)
Android#fffc18a2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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