Skip to content
Vectorlight.net

#ea2540

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

HEX
#ea2540
RGB
234, 37, 64
HSL
351.78°, 82.43%, 53.14%
OKLCH
0.6 0.23 21.45
Names
—
Lists

Codes

FormatValue
HEX#ea2540
RGBrgb(234 37 64)
HSLhsl(351.78 82.43% 53.14%)
OKLCHoklch(0.6 0.23 21.45)
CMYKcmyk(0% 84.19% 72.65% 8.24%)
Android#ffea2540

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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