Skip to content
Vectorlight.net

#f044fc

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

HEX
#f044fc
RGB
240, 68, 252
HSL
296.09°, 96.84%, 62.75%
OKLCH
0.7 0.28 325.14
Names
—
Lists

Codes

FormatValue
HEX#f044fc
RGBrgb(240 68 252)
HSLhsl(296.09 96.84% 62.75%)
OKLCHoklch(0.7 0.28 325.14)
CMYKcmyk(4.76% 73.02% 0% 1.18%)
Android#fff044fc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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