Skip to content
Vectorlight.net

#ec2942

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

HEX
#ec2942
RGB
236, 41, 66
HSL
352.31°, 83.69%, 54.31%
OKLCH
0.61 0.23 21.46
Names
—
Lists

Codes

FormatValue
HEX#ec2942
RGBrgb(236 41 66)
HSLhsl(352.31 83.69% 54.31%)
OKLCHoklch(0.61 0.23 21.46)
CMYKcmyk(0% 82.63% 72.03% 7.45%)
Android#ffec2942

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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