Skip to content
Vectorlight.net

#f5387e

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

HEX
#f5387e
RGB
245, 56, 126
HSL
337.78°, 90.43%, 59.02%
OKLCH
0.65 0.23 4.31
Names
—
Lists

Codes

FormatValue
HEX#f5387e
RGBrgb(245 56 126)
HSLhsl(337.78 90.43% 59.02%)
OKLCHoklch(0.65 0.23 4.31)
CMYKcmyk(0% 77.14% 48.57% 3.92%)
Android#fff5387e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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