Skip to content
Vectorlight.net

#cc339f

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

HEX
#cc339f
RGB
204, 51, 159
HSL
317.65°, 60%, 50%
OKLCH
0.59 0.22 342.58
Names
—
Lists

Codes

FormatValue
HEX#cc339f
RGBrgb(204 51 159)
HSLhsl(317.65 60% 50%)
OKLCHoklch(0.59 0.22 342.58)
CMYKcmyk(0% 75% 22.06% 20%)
Android#ffcc339f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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