Skip to content
Vectorlight.net

#f42fa5

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

HEX
#f42fa5
RGB
244, 47, 165
HSL
324.06°, 89.95%, 57.06%
OKLCH
0.65 0.25 350.05
Names
—
Lists

Codes

FormatValue
HEX#f42fa5
RGBrgb(244 47 165)
HSLhsl(324.06 89.95% 57.06%)
OKLCHoklch(0.65 0.25 350.05)
CMYKcmyk(0% 80.74% 32.38% 4.31%)
Android#fff42fa5

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

Recolor an SVG with this color

CSS

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