Skip to content
Vectorlight.net

#f2007f

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

HEX
#f2007f
RGB
242, 0, 127
HSL
328.51°, 100%, 47.45%
OKLCH
0.62 0.25 0.55
Names
—
Lists

Codes

FormatValue
HEX#f2007f
RGBrgb(242 0 127)
HSLhsl(328.51 100% 47.45%)
OKLCHoklch(0.62 0.25 0.55)
CMYKcmyk(0% 100% 47.52% 5.1%)
Android#fff2007f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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