Skip to content
Vectorlight.net

#f0249d

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

HEX
#f0249d
RGB
240, 36, 157
HSL
324.41°, 87.18%, 54.12%
OKLCH
0.64 0.25 351.33
Names
—
Lists

Codes

FormatValue
HEX#f0249d
RGBrgb(240 36 157)
HSLhsl(324.41 87.18% 54.12%)
OKLCHoklch(0.64 0.25 351.33)
CMYKcmyk(0% 85% 34.58% 5.88%)
Android#fff0249d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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