Skip to content
Vectorlight.net

#f041cd

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

HEX
#f041cd
RGB
240, 65, 205
HSL
312°, 85.37%, 59.8%
OKLCH
0.68 0.25 337.4
Names
—
Lists

Codes

FormatValue
HEX#f041cd
RGBrgb(240 65 205)
HSLhsl(312 85.37% 59.8%)
OKLCHoklch(0.68 0.25 337.4)
CMYKcmyk(0% 72.92% 14.58% 5.88%)
Android#fff041cd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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