Skip to content
Vectorlight.net

#cc299b

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

HEX
#cc299b
RGB
204, 41, 155
HSL
318.04°, 66.53%, 48.04%
OKLCH
0.58 0.22 343.63
Names
—
Lists

Codes

FormatValue
HEX#cc299b
RGBrgb(204 41 155)
HSLhsl(318.04 66.53% 48.04%)
OKLCHoklch(0.58 0.22 343.63)
CMYKcmyk(0% 79.9% 24.02% 20%)
Android#ffcc299b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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