Skip to content
Vectorlight.net

#e271bf

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

HEX
#e271bf
RGB
226, 113, 191
HSL
318.58°, 66.08%, 66.47%
OKLCH
0.7 0.17 340.5
Names
—
Lists

Codes

FormatValue
HEX#e271bf
RGBrgb(226 113 191)
HSLhsl(318.58 66.08% 66.47%)
OKLCHoklch(0.7 0.17 340.5)
CMYKcmyk(0% 50% 15.49% 11.37%)
Android#ffe271bf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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