Skip to content
Vectorlight.net

#f766cc

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

HEX
#f766cc
RGB
247, 102, 204
HSL
317.79°, 90.06%, 68.43%
OKLCH
0.72 0.21 340.82
Names
—
Lists

Codes

FormatValue
HEX#f766cc
RGBrgb(247 102 204)
HSLhsl(317.79 90.06% 68.43%)
OKLCHoklch(0.72 0.21 340.82)
CMYKcmyk(0% 58.7% 17.41% 3.14%)
Android#fff766cc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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