Skip to content
Vectorlight.net

#ef5ba2

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

HEX
#ef5ba2
RGB
239, 91, 162
HSL
331.22°, 82.22%, 64.71%
OKLCH
0.68 0.19 353.71
Names
—
Lists

Codes

FormatValue
HEX#ef5ba2
RGBrgb(239 91 162)
HSLhsl(331.22 82.22% 64.71%)
OKLCHoklch(0.68 0.19 353.71)
CMYKcmyk(0% 61.92% 32.22% 6.27%)
Android#ffef5ba2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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