Skip to content
Vectorlight.net

#f51978

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

HEX
#f51978
RGB
245, 25, 120
HSL
334.09°, 91.67%, 52.94%
OKLCH
0.63 0.24 4.08
Names
—
Lists

Codes

FormatValue
HEX#f51978
RGBrgb(245 25 120)
HSLhsl(334.09 91.67% 52.94%)
OKLCHoklch(0.63 0.24 4.08)
CMYKcmyk(0% 89.8% 51.02% 3.92%)
Android#fff51978

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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