Skip to content
Vectorlight.net

#ec798d

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

HEX
#ec798d
RGB
236, 121, 141
HSL
349.57°, 75.16%, 70%
OKLCH
0.71 0.14 10.4
Names
—
Lists

Codes

FormatValue
HEX#ec798d
RGBrgb(236 121 141)
HSLhsl(349.57 75.16% 70%)
OKLCHoklch(0.71 0.14 10.4)
CMYKcmyk(0% 48.73% 40.25% 7.45%)
Android#ffec798d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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