Skip to content
Vectorlight.net

#cc498e

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

HEX
#cc498e
RGB
204, 73, 142
HSL
328.4°, 56.22%, 54.31%
OKLCH
0.6 0.18 351.21
Names
—
Lists

Codes

FormatValue
HEX#cc498e
RGBrgb(204 73 142)
HSLhsl(328.4 56.22% 54.31%)
OKLCHoklch(0.6 0.18 351.21)
CMYKcmyk(0% 64.22% 30.39% 20%)
Android#ffcc498e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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