Skip to content
Vectorlight.net

#ecafe5

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

HEX
#ecafe5
RGB
236, 175, 229
HSL
306.89°, 61.62%, 80.59%
OKLCH
0.83 0.1 330.39
Names
—
Lists

Codes

FormatValue
HEX#ecafe5
RGBrgb(236 175 229)
HSLhsl(306.89 61.62% 80.59%)
OKLCHoklch(0.83 0.1 330.39)
CMYKcmyk(0% 25.85% 2.97% 7.45%)
Android#ffecafe5

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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