Skip to content
Vectorlight.net

#f02496

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

HEX
#f02496
RGB
240, 36, 150
HSL
326.47°, 87.18%, 54.12%
OKLCH
0.64 0.25 353.63
Names
—
Lists

Codes

FormatValue
HEX#f02496
RGBrgb(240 36 150)
HSLhsl(326.47 87.18% 54.12%)
OKLCHoklch(0.64 0.25 353.63)
CMYKcmyk(0% 85% 37.5% 5.88%)
Android#fff02496

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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