Skip to content
Vectorlight.net

#f51787

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

HEX
#f51787
RGB
245, 23, 135
HSL
329.73°, 91.74%, 52.55%
OKLCH
0.63 0.25 359.04
Names
—
Lists

Codes

FormatValue
HEX#f51787
RGBrgb(245 23 135)
HSLhsl(329.73 91.74% 52.55%)
OKLCHoklch(0.63 0.25 359.04)
CMYKcmyk(0% 90.61% 44.9% 3.92%)
Android#fff51787

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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