Skip to content
Vectorlight.net

#f21145

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

HEX
#f21145
RGB
242, 17, 69
HSL
346.13°, 89.64%, 50.78%
OKLCH
0.61 0.24 19.21
Names
—
Lists

Codes

FormatValue
HEX#f21145
RGBrgb(242 17 69)
HSLhsl(346.13 89.64% 50.78%)
OKLCHoklch(0.61 0.24 19.21)
CMYKcmyk(0% 92.98% 71.49% 5.1%)
Android#fff21145

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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