Skip to content
Vectorlight.net

#cc338d

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

HEX
#cc338d
RGB
204, 51, 141
HSL
324.71°, 60%, 50%
OKLCH
0.58 0.21 349.45
Names
—
Lists

Codes

FormatValue
HEX#cc338d
RGBrgb(204 51 141)
HSLhsl(324.71 60% 50%)
OKLCHoklch(0.58 0.21 349.45)
CMYKcmyk(0% 75% 30.88% 20%)
Android#ffcc338d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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