Skip to content
Vectorlight.net

#ea338b

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

HEX
#ea338b
RGB
234, 51, 139
HSL
331.15°, 81.33%, 55.88%
OKLCH
0.63 0.23 357.13
Names
—
Lists

Codes

FormatValue
HEX#ea338b
RGBrgb(234 51 139)
HSLhsl(331.15 81.33% 55.88%)
OKLCHoklch(0.63 0.23 357.13)
CMYKcmyk(0% 78.21% 40.6% 8.24%)
Android#ffea338b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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