Skip to content
Vectorlight.net

#f0728d

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

HEX
#f0728d
RGB
240, 114, 141
HSL
347.14°, 80.77%, 69.41%
OKLCH
0.71 0.16 8.51
Names
—
Lists

Codes

FormatValue
HEX#f0728d
RGBrgb(240 114 141)
HSLhsl(347.14 80.77% 69.41%)
OKLCHoklch(0.71 0.16 8.51)
CMYKcmyk(0% 52.5% 41.25% 5.88%)
Android#fff0728d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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