Skip to content
Vectorlight.net

#cc3271

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

HEX
#cc3271
RGB
204, 50, 113
HSL
335.45°, 60.63%, 49.8%
OKLCH
0.57 0.19 1.03
Names
—
Lists

Codes

FormatValue
HEX#cc3271
RGBrgb(204 50 113)
HSLhsl(335.45 60.63% 49.8%)
OKLCHoklch(0.57 0.19 1.03)
CMYKcmyk(0% 75.49% 44.61% 20%)
Android#ffcc3271

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="#cc3271"
Gradient stop
<stop stop-color="#cc3271"/>
CSS variable + fill
:root { --c: #cc3271; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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