Skip to content
Vectorlight.net

#ef227b

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

HEX
#ef227b
RGB
239, 34, 123
HSL
333.95°, 86.5%, 53.53%
OKLCH
0.62 0.24 2.53
Names
—
Lists

Codes

FormatValue
HEX#ef227b
RGBrgb(239 34 123)
HSLhsl(333.95 86.5% 53.53%)
OKLCHoklch(0.62 0.24 2.53)
CMYKcmyk(0% 85.77% 48.54% 6.27%)
Android#ffef227b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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