Skip to content
Vectorlight.net

#f5237e

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

HEX
#f5237e
RGB
245, 35, 126
HSL
334°, 91.3%, 54.9%
OKLCH
0.64 0.24 2.6
Names
—
Lists

Codes

FormatValue
HEX#f5237e
RGBrgb(245 35 126)
HSLhsl(334 91.3% 54.9%)
OKLCHoklch(0.64 0.24 2.6)
CMYKcmyk(0% 85.71% 48.57% 3.92%)
Android#fff5237e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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