Skip to content
Vectorlight.net

#cc18bd

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

HEX
#cc18bd
RGB
204, 24, 189
HSL
305°, 78.95%, 44.71%
OKLCH
0.59 0.25 332.46
Names
—
Lists

Codes

FormatValue
HEX#cc18bd
RGBrgb(204 24 189)
HSLhsl(305 78.95% 44.71%)
OKLCHoklch(0.59 0.25 332.46)
CMYKcmyk(0% 88.24% 7.35% 20%)
Android#ffcc18bd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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