Skip to content
Vectorlight.net

#ec796f

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

HEX
#ec796f
RGB
236, 121, 111
HSL
4.8°, 76.69%, 68.04%
OKLCH
0.71 0.14 26.46
Names
—
Lists

Codes

FormatValue
HEX#ec796f
RGBrgb(236 121 111)
HSLhsl(4.8 76.69% 68.04%)
OKLCHoklch(0.71 0.14 26.46)
CMYKcmyk(0% 48.73% 52.97% 7.45%)
Android#ffec796f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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