Skip to content
Vectorlight.net

#f0296e

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

HEX
#f0296e
RGB
240, 41, 110
HSL
339.2°, 86.9%, 55.1%
OKLCH
0.63 0.23 7.72
Names
—
Lists

Codes

FormatValue
HEX#f0296e
RGBrgb(240 41 110)
HSLhsl(339.2 86.9% 55.1%)
OKLCHoklch(0.63 0.23 7.72)
CMYKcmyk(0% 82.92% 54.17% 5.88%)
Android#fff0296e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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