Skip to content
Vectorlight.net

#f20717

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

HEX
#f20717
RGB
242, 7, 23
HSL
355.91°, 94.38%, 48.82%
OKLCH
0.61 0.25 27.75
Names
—
Lists

Codes

FormatValue
HEX#f20717
RGBrgb(242 7 23)
HSLhsl(355.91 94.38% 48.82%)
OKLCHoklch(0.61 0.25 27.75)
CMYKcmyk(0% 97.11% 90.5% 5.1%)
Android#fff20717

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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