Skip to content
Vectorlight.net

#f01d7a

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

HEX
#f01d7a
RGB
240, 29, 122
HSL
333.55°, 87.55%, 52.75%
OKLCH
0.62 0.24 2.76
Names
—
Lists

Codes

FormatValue
HEX#f01d7a
RGBrgb(240 29 122)
HSLhsl(333.55 87.55% 52.75%)
OKLCHoklch(0.62 0.24 2.76)
CMYKcmyk(0% 87.92% 49.17% 5.88%)
Android#fff01d7a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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