Skip to content
Vectorlight.net

#f12fac

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

HEX
#f12fac
RGB
241, 47, 172
HSL
321.34°, 87.39%, 56.47%
OKLCH
0.65 0.25 347.16
Names
—
Lists

Codes

FormatValue
HEX#f12fac
RGBrgb(241 47 172)
HSLhsl(321.34 87.39% 56.47%)
OKLCHoklch(0.65 0.25 347.16)
CMYKcmyk(0% 80.5% 28.63% 5.49%)
Android#fff12fac

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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