Skip to content
Vectorlight.net

#ec98dd

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

HEX
#ec98dd
RGB
236, 152, 221
HSL
310.71°, 68.85%, 76.08%
OKLCH
0.79 0.13 333.43
Names
—
Lists

Codes

FormatValue
HEX#ec98dd
RGBrgb(236 152 221)
HSLhsl(310.71 68.85% 76.08%)
OKLCHoklch(0.79 0.13 333.43)
CMYKcmyk(0% 35.59% 6.36% 7.45%)
Android#ffec98dd

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.10: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="#ec98dd"
Gradient stop
<stop stop-color="#ec98dd"/>
CSS variable + fill
:root { --c: #ec98dd; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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