Skip to content
Vectorlight.net

#f51576

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

HEX
#f51576
RGB
245, 21, 118
HSL
334.02°, 91.8%, 52.16%
OKLCH
0.63 0.25 4.58
Names
—
Lists

Codes

FormatValue
HEX#f51576
RGBrgb(245 21 118)
HSLhsl(334.02 91.8% 52.16%)
OKLCHoklch(0.63 0.25 4.58)
CMYKcmyk(0% 91.43% 51.84% 3.92%)
Android#fff51576

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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