Skip to content
Vectorlight.net

#f97eaf

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

HEX
#f97eaf
RGB
249, 126, 175
HSL
336.1°, 91.11%, 73.53%
OKLCH
0.75 0.16 356.46
Names
—
Lists

Codes

FormatValue
HEX#f97eaf
RGBrgb(249 126 175)
HSLhsl(336.1 91.11% 73.53%)
OKLCHoklch(0.75 0.16 356.46)
CMYKcmyk(0% 49.4% 29.72% 2.35%)
Android#fff97eaf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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