Skip to content
Vectorlight.net

#f74c8a

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

HEX
#f74c8a
RGB
247, 76, 138
HSL
338.25°, 91.44%, 63.33%
OKLCH
0.67 0.21 2.7
Names
—
Lists

Codes

FormatValue
HEX#f74c8a
RGBrgb(247 76 138)
HSLhsl(338.25 91.44% 63.33%)
OKLCHoklch(0.67 0.21 2.7)
CMYKcmyk(0% 69.23% 44.13% 3.14%)
Android#fff74c8a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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