Skip to content
Vectorlight.net

#ec7eaf

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

HEX
#ec7eaf
RGB
236, 126, 175
HSL
333.27°, 74.32%, 70.98%
OKLCH
0.73 0.15 353.21
Names
—
Lists

Codes

FormatValue
HEX#ec7eaf
RGBrgb(236 126 175)
HSLhsl(333.27 74.32% 70.98%)
OKLCHoklch(0.73 0.15 353.21)
CMYKcmyk(0% 46.61% 25.85% 7.45%)
Android#ffec7eaf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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