Skip to content
Vectorlight.net

#f090dc

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

HEX
#f090dc
RGB
240, 144, 220
HSL
312.5°, 76.19%, 75.29%
OKLCH
0.78 0.15 334.99
Names
—
Lists

Codes

FormatValue
HEX#f090dc
RGBrgb(240 144 220)
HSLhsl(312.5 76.19% 75.29%)
OKLCHoklch(0.78 0.15 334.99)
CMYKcmyk(0% 40% 8.33% 5.88%)
Android#fff090dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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