Skip to content
Vectorlight.net

#ce2d8b

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

HEX
#ce2d8b
RGB
206, 45, 139
HSL
324.97°, 64.14%, 49.22%
OKLCH
0.58 0.21 350.33
Names
—
Lists

Codes

FormatValue
HEX#ce2d8b
RGBrgb(206 45 139)
HSLhsl(324.97 64.14% 49.22%)
OKLCHoklch(0.58 0.21 350.33)
CMYKcmyk(0% 78.16% 32.52% 19.22%)
Android#ffce2d8b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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