Skip to content
Vectorlight.net

#f22389

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

HEX
#f22389
RGB
242, 35, 137
HSL
330.43°, 88.84%, 54.31%
OKLCH
0.63 0.24 358.34
Names
—
Lists

Codes

FormatValue
HEX#f22389
RGBrgb(242 35 137)
HSLhsl(330.43 88.84% 54.31%)
OKLCHoklch(0.63 0.24 358.34)
CMYKcmyk(0% 85.54% 43.39% 5.1%)
Android#fff22389

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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