Skip to content
Vectorlight.net

#eb298a

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

HEX
#eb298a
RGB
235, 41, 138
HSL
330°, 82.91%, 54.12%
OKLCH
0.63 0.23 356.97
Names
—
Lists

Codes

FormatValue
HEX#eb298a
RGBrgb(235 41 138)
HSLhsl(330 82.91% 54.12%)
OKLCHoklch(0.63 0.23 356.97)
CMYKcmyk(0% 82.55% 41.28% 7.84%)
Android#ffeb298a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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