Skip to content
Vectorlight.net

#ea307f

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

HEX
#ea307f
RGB
234, 48, 127
HSL
334.52°, 81.58%, 55.29%
OKLCH
0.63 0.22 1.25
Names
—
Lists

Codes

FormatValue
HEX#ea307f
RGBrgb(234 48 127)
HSLhsl(334.52 81.58% 55.29%)
OKLCHoklch(0.63 0.22 1.25)
CMYKcmyk(0% 79.49% 45.73% 8.24%)
Android#ffea307f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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