Skip to content
Vectorlight.net

#cc048e

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

HEX
#cc048e
RGB
204, 4, 142
HSL
318.6°, 96.15%, 40.78%
OKLCH
0.56 0.24 347.33
Names
—
Lists

Codes

FormatValue
HEX#cc048e
RGBrgb(204 4 142)
HSLhsl(318.6 96.15% 40.78%)
OKLCHoklch(0.56 0.24 347.33)
CMYKcmyk(0% 98.04% 30.39% 20%)
Android#ffcc048e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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