Skip to content
Vectorlight.net

#ecb7df

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

HEX
#ecb7df
RGB
236, 183, 223
HSL
314.72°, 58.24%, 82.16%
OKLCH
0.84 0.08 335.21
Names
—
Lists

Codes

FormatValue
HEX#ecb7df
RGBrgb(236 183 223)
HSLhsl(314.72 58.24% 82.16%)
OKLCHoklch(0.84 0.08 335.21)
CMYKcmyk(0% 22.46% 5.51% 7.45%)
Android#ffecb7df

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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