Skip to content
Vectorlight.net

#ce028a

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

HEX
#ce028a
RGB
206, 2, 138
HSL
320°, 98.08%, 40.78%
OKLCH
0.56 0.23 349.2
Names
—
Lists

Codes

FormatValue
HEX#ce028a
RGBrgb(206 2 138)
HSLhsl(320 98.08% 40.78%)
OKLCHoklch(0.56 0.23 349.2)
CMYKcmyk(0% 99.03% 33.01% 19.22%)
Android#ffce028a

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
5.24:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.00:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#ce028a"
Gradient stop
<stop stop-color="#ce028a"/>
CSS variable + fill
:root { --c: #ce028a; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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