Skip to content
Vectorlight.net

#f20767

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

HEX
#f20767
RGB
242, 7, 103
HSL
335.49°, 94.38%, 48.82%
OKLCH
0.62 0.24 8.58
Names
—
Lists

Codes

FormatValue
HEX#f20767
RGBrgb(242 7 103)
HSLhsl(335.49 94.38% 48.82%)
OKLCHoklch(0.62 0.24 8.58)
CMYKcmyk(0% 97.11% 57.44% 5.1%)
Android#fff20767

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

Recolor an SVG with this color

CSS

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