Skip to content
Vectorlight.net

#e7281f

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

HEX
#e7281f
RGB
231, 40, 31
HSL
2.7°, 80.65%, 51.37%
OKLCH
0.6 0.22 28.93
Names
—
Lists

Codes

FormatValue
HEX#e7281f
RGBrgb(231 40 31)
HSLhsl(2.7 80.65% 51.37%)
OKLCHoklch(0.6 0.22 28.93)
CMYKcmyk(0% 82.68% 86.58% 9.41%)
Android#ffe7281f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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