Skip to content
Vectorlight.net

#ce157a

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

HEX
#ce157a
RGB
206, 21, 122
HSL
327.24°, 81.5%, 44.51%
OKLCH
0.56 0.22 355.56
Names
—
Lists

Codes

FormatValue
HEX#ce157a
RGBrgb(206 21 122)
HSLhsl(327.24 81.5% 44.51%)
OKLCHoklch(0.56 0.22 355.56)
CMYKcmyk(0% 89.81% 40.78% 19.22%)
Android#ffce157a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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