Skip to content
Vectorlight.net

#f21340

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

HEX
#f21340
RGB
242, 19, 64
HSL
347.89°, 89.56%, 51.18%
OKLCH
0.61 0.24 20.62
Names
—
Lists

Codes

FormatValue
HEX#f21340
RGBrgb(242 19 64)
HSLhsl(347.89 89.56% 51.18%)
OKLCHoklch(0.61 0.24 20.62)
CMYKcmyk(0% 92.15% 73.55% 5.1%)
Android#fff21340

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="#f21340"
Gradient stop
<stop stop-color="#f21340"/>
CSS variable + fill
:root { --c: #f21340; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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