Skip to content
Vectorlight.net

#eb306c

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

HEX
#eb306c
RGB
235, 48, 108
HSL
340.75°, 82.38%, 55.49%
OKLCH
0.62 0.22 8.36
Names
—
Lists

Codes

FormatValue
HEX#eb306c
RGBrgb(235 48 108)
HSLhsl(340.75 82.38% 55.49%)
OKLCHoklch(0.62 0.22 8.36)
CMYKcmyk(0% 79.57% 54.04% 7.84%)
Android#ffeb306c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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