Skip to content
Vectorlight.net

#f21346

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

HEX
#f21346
RGB
242, 19, 70
HSL
346.28°, 89.56%, 51.18%
OKLCH
0.61 0.24 19.04
Names
—
Lists

Codes

FormatValue
HEX#f21346
RGBrgb(242 19 70)
HSLhsl(346.28 89.56% 51.18%)
OKLCHoklch(0.61 0.24 19.04)
CMYKcmyk(0% 92.15% 71.07% 5.1%)
Android#fff21346

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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