Skip to content
Vectorlight.net

#ea51ba

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

HEX
#ea51ba
RGB
234, 81, 186
HSL
318.82°, 78.46%, 61.76%
OKLCH
0.67 0.22 342.48
Names
—
Lists

Codes

FormatValue
HEX#ea51ba
RGBrgb(234 81 186)
HSLhsl(318.82 78.46% 61.76%)
OKLCHoklch(0.67 0.22 342.48)
CMYKcmyk(0% 65.38% 20.51% 8.24%)
Android#ffea51ba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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