Skip to content
Vectorlight.net

#f288dd

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

HEX
#f288dd
RGB
242, 136, 221
HSL
311.89°, 80.3%, 74.12%
OKLCH
0.77 0.16 334.85
Names
—
Lists

Codes

FormatValue
HEX#f288dd
RGBrgb(242 136 221)
HSLhsl(311.89 80.3% 74.12%)
OKLCHoklch(0.77 0.16 334.85)
CMYKcmyk(0% 43.8% 8.68% 5.1%)
Android#fff288dd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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