Skip to content
Vectorlight.net

#ce228f

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

HEX
#ce228f
RGB
206, 34, 143
HSL
321.98°, 71.67%, 47.06%
OKLCH
0.58 0.22 348.23
Names
—
Lists

Codes

FormatValue
HEX#ce228f
RGBrgb(206 34 143)
HSLhsl(321.98 71.67% 47.06%)
OKLCHoklch(0.58 0.22 348.23)
CMYKcmyk(0% 83.5% 30.58% 19.22%)
Android#ffce228f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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