Skip to content
Vectorlight.net

#e31677

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

HEX
#e31677
RGB
227, 22, 119
HSL
331.61°, 82.33%, 48.82%
OKLCH
0.6 0.23 1.1
Names
—
Lists

Codes

FormatValue
HEX#e31677
RGBrgb(227 22 119)
HSLhsl(331.61 82.33% 48.82%)
OKLCHoklch(0.6 0.23 1.1)
CMYKcmyk(0% 90.31% 47.58% 10.98%)
Android#ffe31677

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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