Skip to content
Vectorlight.net

#f21996

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

HEX
#f21996
RGB
242, 25, 150
HSL
325.44°, 89.3%, 52.35%
OKLCH
0.64 0.25 353.63
Names
—
Lists

Codes

FormatValue
HEX#f21996
RGBrgb(242 25 150)
HSLhsl(325.44 89.3% 52.35%)
OKLCHoklch(0.64 0.25 353.63)
CMYKcmyk(0% 89.67% 38.02% 5.1%)
Android#fff21996

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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