Skip to content
Vectorlight.net

#f5397f

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

HEX
#f5397f
RGB
245, 57, 127
HSL
337.66°, 90.38%, 59.22%
OKLCH
0.65 0.23 4.06
Names
—
Lists

Codes

FormatValue
HEX#f5397f
RGBrgb(245 57 127)
HSLhsl(337.66 90.38% 59.22%)
OKLCHoklch(0.65 0.23 4.06)
CMYKcmyk(0% 76.73% 48.16% 3.92%)
Android#fff5397f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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