Skip to content
Vectorlight.net

#cc229a

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

HEX
#cc229a
RGB
204, 34, 154
HSL
317.65°, 71.43%, 46.67%
OKLCH
0.58 0.23 343.76
Names
—
Lists

Codes

FormatValue
HEX#cc229a
RGBrgb(204 34 154)
HSLhsl(317.65 71.43% 46.67%)
OKLCHoklch(0.58 0.23 343.76)
CMYKcmyk(0% 83.33% 24.51% 20%)
Android#ffcc229a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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