Skip to content
Vectorlight.net

#f21071

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

HEX
#f21071
RGB
242, 16, 113
HSL
334.25°, 89.68%, 50.59%
OKLCH
0.62 0.24 5.56
Names
—
Lists

Codes

FormatValue
HEX#f21071
RGBrgb(242 16 113)
HSLhsl(334.25 89.68% 50.59%)
OKLCHoklch(0.62 0.24 5.56)
CMYKcmyk(0% 93.39% 53.31% 5.1%)
Android#fff21071

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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