Skip to content
Vectorlight.net

#f0299e

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

HEX
#f0299e
RGB
240, 41, 158
HSL
324.72°, 86.9%, 55.1%
OKLCH
0.64 0.25 351.21
Names
—
Lists

Codes

FormatValue
HEX#f0299e
RGBrgb(240 41 158)
HSLhsl(324.72 86.9% 55.1%)
OKLCHoklch(0.64 0.25 351.21)
CMYKcmyk(0% 82.92% 34.17% 5.88%)
Android#fff0299e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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