Skip to content
Vectorlight.net

#ec2640

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

HEX
#ec2640
RGB
236, 38, 64
HSL
352.12°, 83.9%, 53.73%
OKLCH
0.61 0.23 21.68
Names
—
Lists

Codes

FormatValue
HEX#ec2640
RGBrgb(236 38 64)
HSLhsl(352.12 83.9% 53.73%)
OKLCHoklch(0.61 0.23 21.68)
CMYKcmyk(0% 83.9% 72.88% 7.45%)
Android#ffec2640

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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