Skip to content
Vectorlight.net

#cc418f

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

HEX
#cc418f
RGB
204, 65, 143
HSL
326.33°, 57.68%, 52.75%
OKLCH
0.6 0.19 349.85
Names
—
Lists

Codes

FormatValue
HEX#cc418f
RGBrgb(204 65 143)
HSLhsl(326.33 57.68% 52.75%)
OKLCHoklch(0.6 0.19 349.85)
CMYKcmyk(0% 68.14% 29.9% 20%)
Android#ffcc418f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

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

Recolor an SVG with this color

CSS

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