Skip to content
Vectorlight.net

#f5397d

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

HEX
#f5397d
RGB
245, 57, 125
HSL
338.3°, 90.38%, 59.22%
OKLCH
0.65 0.23 4.78
Names
—
Lists

Codes

FormatValue
HEX#f5397d
RGBrgb(245 57 125)
HSLhsl(338.3 90.38% 59.22%)
OKLCHoklch(0.65 0.23 4.78)
CMYKcmyk(0% 76.73% 48.98% 3.92%)
Android#fff5397d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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