Skip to content
Vectorlight.net

#f21685

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

HEX
#f21685
RGB
242, 22, 133
HSL
329.73°, 89.43%, 51.76%
OKLCH
0.63 0.25 359.11
Names
—
Lists

Codes

FormatValue
HEX#f21685
RGBrgb(242 22 133)
HSLhsl(329.73 89.43% 51.76%)
OKLCHoklch(0.63 0.25 359.11)
CMYKcmyk(0% 90.91% 45.04% 5.1%)
Android#fff21685

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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