Skip to content
Vectorlight.net

#ec2b1d

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

HEX
#ec2b1d
RGB
236, 43, 29
HSL
4.06°, 84.49%, 51.96%
OKLCH
0.61 0.23 29.59
Names
—
Lists

Codes

FormatValue
HEX#ec2b1d
RGBrgb(236 43 29)
HSLhsl(4.06 84.49% 51.96%)
OKLCHoklch(0.61 0.23 29.59)
CMYKcmyk(0% 81.78% 87.71% 7.45%)
Android#ffec2b1d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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