Skip to content
Vectorlight.net

#e478cf

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

HEX
#e478cf
RGB
228, 120, 207
HSL
311.67°, 66.67%, 68.24%
OKLCH
0.72 0.17 334.96
Names
—
Lists

Codes

FormatValue
HEX#e478cf
RGBrgb(228 120 207)
HSLhsl(311.67 66.67% 68.24%)
OKLCHoklch(0.72 0.17 334.96)
CMYKcmyk(0% 47.37% 9.21% 10.59%)
Android#ffe478cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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