Skip to content
Vectorlight.net

#ec7fba

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

HEX
#ec7fba
RGB
236, 127, 186
HSL
327.52°, 74.15%, 71.18%
OKLCH
0.73 0.15 347.75
Names
—
Lists

Codes

FormatValue
HEX#ec7fba
RGBrgb(236 127 186)
HSLhsl(327.52 74.15% 71.18%)
OKLCHoklch(0.73 0.15 347.75)
CMYKcmyk(0% 46.19% 21.19% 7.45%)
Android#ffec7fba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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