Skip to content
Vectorlight.net

#ec262b

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

HEX
#ec262b
RGB
236, 38, 43
HSL
358.48°, 83.9%, 53.73%
OKLCH
0.61 0.23 26.64
Names
—
Lists

Codes

FormatValue
HEX#ec262b
RGBrgb(236 38 43)
HSLhsl(358.48 83.9% 53.73%)
OKLCHoklch(0.61 0.23 26.64)
CMYKcmyk(0% 83.9% 81.78% 7.45%)
Android#ffec262b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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