Skip to content
Vectorlight.net

#ecb5f2

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

HEX
#ecb5f2
RGB
236, 181, 242
HSL
294.1°, 70.11%, 82.94%
OKLCH
0.84 0.1 323.14
Names
—
Lists

Codes

FormatValue
HEX#ecb5f2
RGBrgb(236 181 242)
HSLhsl(294.1 70.11% 82.94%)
OKLCHoklch(0.84 0.1 323.14)
CMYKcmyk(2.48% 25.21% 0% 5.1%)
Android#ffecb5f2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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