Skip to content
Vectorlight.net

#f5146d

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

HEX
#f5146d
RGB
245, 20, 109
HSL
336.27°, 91.84%, 51.96%
OKLCH
0.63 0.24 7.49
Names
—
Lists

Codes

FormatValue
HEX#f5146d
RGBrgb(245 20 109)
HSLhsl(336.27 91.84% 51.96%)
OKLCHoklch(0.63 0.24 7.49)
CMYKcmyk(0% 91.84% 55.51% 3.92%)
Android#fff5146d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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