Skip to content
Vectorlight.net

#f5387f

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

HEX
#f5387f
RGB
245, 56, 127
HSL
337.46°, 90.43%, 59.02%
OKLCH
0.65 0.23 3.96
Names
—
Lists

Codes

FormatValue
HEX#f5387f
RGBrgb(245 56 127)
HSLhsl(337.46 90.43% 59.02%)
OKLCHoklch(0.65 0.23 3.96)
CMYKcmyk(0% 77.14% 48.16% 3.92%)
Android#fff5387f

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.75: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="#f5387f"
Gradient stop
<stop stop-color="#f5387f"/>
CSS variable + fill
:root { --c: #f5387f; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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