Skip to content
Vectorlight.net

#f5487b

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

HEX
#f5487b
RGB
245, 72, 123
HSL
342.31°, 89.64%, 62.16%
OKLCH
0.66 0.21 7.49
Names
—
Lists

Codes

FormatValue
HEX#f5487b
RGBrgb(245 72 123)
HSLhsl(342.31 89.64% 62.16%)
OKLCHoklch(0.66 0.21 7.49)
CMYKcmyk(0% 70.61% 49.8% 3.92%)
Android#fff5487b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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