Skip to content
Vectorlight.net

#ecbef2

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

HEX
#ecbef2
RGB
236, 190, 242
HSL
293.08°, 66.67%, 84.71%
OKLCH
0.86 0.09 322.48
Names
—
Lists

Codes

FormatValue
HEX#ecbef2
RGBrgb(236 190 242)
HSLhsl(293.08 66.67% 84.71%)
OKLCHoklch(0.86 0.09 322.48)
CMYKcmyk(2.48% 21.49% 0% 5.1%)
Android#ffecbef2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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