Skip to content
Vectorlight.net

#ec97cb

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

HEX
#ec97cb
RGB
236, 151, 203
HSL
323.29°, 69.11%, 75.88%
OKLCH
0.78 0.12 342.89
Names
—
Lists

Codes

FormatValue
HEX#ec97cb
RGBrgb(236 151 203)
HSLhsl(323.29 69.11% 75.88%)
OKLCHoklch(0.78 0.12 342.89)
CMYKcmyk(0% 36.02% 13.98% 7.45%)
Android#ffec97cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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