Skip to content
Vectorlight.net

#f5317f

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

HEX
#f5317f
RGB
245, 49, 127
HSL
336.12°, 90.74%, 57.65%
OKLCH
0.64 0.23 3.29
Names
—
Lists

Codes

FormatValue
HEX#f5317f
RGBrgb(245 49 127)
HSLhsl(336.12 90.74% 57.65%)
OKLCHoklch(0.64 0.23 3.29)
CMYKcmyk(0% 80% 48.16% 3.92%)
Android#fff5317f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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