Skip to content
Vectorlight.net

#f297df

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

HEX
#f297df
RGB
242, 151, 223
HSL
312.53°, 77.78%, 77.06%
OKLCH
0.79 0.14 334.83
Names
—
Lists

Codes

FormatValue
HEX#f297df
RGBrgb(242 151 223)
HSLhsl(312.53 77.78% 77.06%)
OKLCHoklch(0.79 0.14 334.83)
CMYKcmyk(0% 37.6% 7.85% 5.1%)
Android#fff297df

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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