Skip to content
Vectorlight.net

#f07fcc

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

HEX
#f07fcc
RGB
240, 127, 204
HSL
319.12°, 79.02%, 71.96%
OKLCH
0.75 0.16 340.64
Names
—
Lists

Codes

FormatValue
HEX#f07fcc
RGBrgb(240 127 204)
HSLhsl(319.12 79.02% 71.96%)
OKLCHoklch(0.75 0.16 340.64)
CMYKcmyk(0% 47.08% 15% 5.88%)
Android#fff07fcc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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