Skip to content
Vectorlight.net

#f00972

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

HEX
#f00972
RGB
240, 9, 114
HSL
332.73°, 92.77%, 48.82%
OKLCH
0.62 0.25 4.7
Names
—
Lists

Codes

FormatValue
HEX#f00972
RGBrgb(240 9 114)
HSLhsl(332.73 92.77% 48.82%)
OKLCHoklch(0.62 0.25 4.7)
CMYKcmyk(0% 96.25% 52.5% 5.88%)
Android#fff00972

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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