Skip to content
Vectorlight.net

#cc058e

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

HEX
#cc058e
RGB
204, 5, 142
HSL
318.69°, 95.22%, 40.98%
OKLCH
0.56 0.23 347.35
Names
—
Lists

Codes

FormatValue
HEX#cc058e
RGBrgb(204 5 142)
HSLhsl(318.69 95.22% 40.98%)
OKLCHoklch(0.56 0.23 347.35)
CMYKcmyk(0% 97.55% 30.39% 20%)
Android#ffcc058e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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