Skip to content
Vectorlight.net

#f2007a

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

HEX
#f2007a
RGB
242, 0, 122
HSL
329.75°, 100%, 47.45%
OKLCH
0.62 0.25 2.19
Names
—
Lists

Codes

FormatValue
HEX#f2007a
RGBrgb(242 0 122)
HSLhsl(329.75 100% 47.45%)
OKLCHoklch(0.62 0.25 2.19)
CMYKcmyk(0% 100% 49.59% 5.1%)
Android#fff2007a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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