Skip to content
Vectorlight.net

#eb2f8a

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

HEX
#eb2f8a
RGB
235, 47, 138
HSL
330.96°, 82.46%, 55.29%
OKLCH
0.63 0.23 357.38
Names
—
Lists

Codes

FormatValue
HEX#eb2f8a
RGBrgb(235 47 138)
HSLhsl(330.96 82.46% 55.29%)
OKLCHoklch(0.63 0.23 357.38)
CMYKcmyk(0% 80% 41.28% 7.84%)
Android#ffeb2f8a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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