Skip to content
Vectorlight.net

#f20293

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

HEX
#f20293
RGB
242, 2, 147
HSL
323.75°, 98.36%, 47.84%
OKLCH
0.63 0.26 354.12
Names
—
Lists

Codes

FormatValue
HEX#f20293
RGBrgb(242 2 147)
HSLhsl(323.75 98.36% 47.84%)
OKLCHoklch(0.63 0.26 354.12)
CMYKcmyk(0% 99.17% 39.26% 5.1%)
Android#fff20293

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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