Skip to content
Vectorlight.net

#f20e46

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

HEX
#f20e46
RGB
242, 14, 70
HSL
345.26°, 89.76%, 50.2%
OKLCH
0.61 0.24 18.81
Names
—
Lists

Codes

FormatValue
HEX#f20e46
RGBrgb(242 14 70)
HSLhsl(345.26 89.76% 50.2%)
OKLCHoklch(0.61 0.24 18.81)
CMYKcmyk(0% 94.21% 71.07% 5.1%)
Android#fff20e46

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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