Skip to content
Vectorlight.net

#ef97dc

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

HEX
#ef97dc
RGB
239, 151, 220
HSL
312.95°, 73.33%, 76.47%
OKLCH
0.79 0.14 335.07
Names
—
Lists

Codes

FormatValue
HEX#ef97dc
RGBrgb(239 151 220)
HSLhsl(312.95 73.33% 76.47%)
OKLCHoklch(0.79 0.14 335.07)
CMYKcmyk(0% 36.82% 7.95% 6.27%)
Android#ffef97dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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