Skip to content
Vectorlight.net

#eb313e

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

HEX
#eb313e
RGB
235, 49, 62
HSL
355.81°, 82.3%, 55.69%
OKLCH
0.61 0.22 23.54
Names
—
Lists

Codes

FormatValue
HEX#eb313e
RGBrgb(235 49 62)
HSLhsl(355.81 82.3% 55.69%)
OKLCHoklch(0.61 0.22 23.54)
CMYKcmyk(0% 79.15% 73.62% 7.84%)
Android#ffeb313e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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