Skip to content
Vectorlight.net

#f21241

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

HEX
#f21241
RGB
242, 18, 65
HSL
347.41°, 89.6%, 50.98%
OKLCH
0.61 0.24 20.31
Names
—
Lists

Codes

FormatValue
HEX#f21241
RGBrgb(242 18 65)
HSLhsl(347.41 89.6% 50.98%)
OKLCHoklch(0.61 0.24 20.31)
CMYKcmyk(0% 92.56% 73.14% 5.1%)
Android#fff21241

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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