Skip to content
Vectorlight.net

#e342bf

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

HEX
#e342bf
RGB
227, 66, 191
HSL
313.42°, 74.19%, 57.45%
OKLCH
0.65 0.23 338.39
Names
—
Lists

Codes

FormatValue
HEX#e342bf
RGBrgb(227 66 191)
HSLhsl(313.42 74.19% 57.45%)
OKLCHoklch(0.65 0.23 338.39)
CMYKcmyk(0% 70.93% 15.86% 10.98%)
Android#ffe342bf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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