Skip to content
Vectorlight.net

#ec7874

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

HEX
#ec7874
RGB
236, 120, 116
HSL
2°, 75.95%, 69.02%
OKLCH
0.7 0.14 23.45
Names
—
Lists

Codes

FormatValue
HEX#ec7874
RGBrgb(236 120 116)
HSLhsl(2 75.95% 69.02%)
OKLCHoklch(0.7 0.14 23.45)
CMYKcmyk(0% 49.15% 50.85% 7.45%)
Android#ffec7874

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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