Skip to content
Vectorlight.net

#ea42cb

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

HEX
#ea42cb
RGB
234, 66, 203
HSL
311.07°, 80%, 58.82%
OKLCH
0.67 0.25 336.51
Names
—
Lists

Codes

FormatValue
HEX#ea42cb
RGBrgb(234 66 203)
HSLhsl(311.07 80% 58.82%)
OKLCHoklch(0.67 0.25 336.51)
CMYKcmyk(0% 71.79% 13.25% 8.24%)
Android#ffea42cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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