Skip to content
Vectorlight.net

#f22dae

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

HEX
#f22dae
RGB
242, 45, 174
HSL
320.71°, 88.34%, 56.27%
OKLCH
0.65 0.25 346.68
Names
—
Lists

Codes

FormatValue
HEX#f22dae
RGBrgb(242 45 174)
HSLhsl(320.71 88.34% 56.27%)
OKLCHoklch(0.65 0.25 346.68)
CMYKcmyk(0% 81.4% 28.1% 5.1%)
Android#fff22dae

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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