Skip to content
Vectorlight.net

#f21948

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

HEX
#f21948
RGB
242, 25, 72
HSL
347°, 89.3%, 52.35%
OKLCH
0.62 0.24 18.83
Names
—
Lists

Codes

FormatValue
HEX#f21948
RGBrgb(242 25 72)
HSLhsl(347 89.3% 52.35%)
OKLCHoklch(0.62 0.24 18.83)
CMYKcmyk(0% 89.67% 70.25% 5.1%)
Android#fff21948

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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