Skip to content
Vectorlight.net

#e70f2a

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

HEX
#e70f2a
RGB
231, 15, 42
HSL
352.5°, 87.8%, 48.24%
OKLCH
0.59 0.23 24.87
Names
—
Lists

Codes

FormatValue
HEX#e70f2a
RGBrgb(231 15 42)
HSLhsl(352.5 87.8% 48.24%)
OKLCHoklch(0.59 0.23 24.87)
CMYKcmyk(0% 93.51% 81.82% 9.41%)
Android#ffe70f2a

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.66:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.49:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#e70f2a"
Gradient stop
<stop stop-color="#e70f2a"/>
CSS variable + fill
:root { --c: #e70f2a; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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