Skip to content
Vectorlight.net

#f0579a

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

HEX
#f0579a
RGB
240, 87, 154
HSL
333.73°, 83.61%, 64.12%
OKLCH
0.68 0.2 356.63
Names
—
Lists

Codes

FormatValue
HEX#f0579a
RGBrgb(240 87 154)
HSLhsl(333.73 83.61% 64.12%)
OKLCHoklch(0.68 0.2 356.63)
CMYKcmyk(0% 63.75% 35.83% 5.88%)
Android#fff0579a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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