Skip to content
Vectorlight.net

#cc303e

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

HEX
#cc303e
RGB
204, 48, 62
HSL
354.62°, 61.9%, 49.41%
OKLCH
0.56 0.19 21.63
Names
—
Lists

Codes

FormatValue
HEX#cc303e
RGBrgb(204 48 62)
HSLhsl(354.62 61.9% 49.41%)
OKLCHoklch(0.56 0.19 21.63)
CMYKcmyk(0% 76.47% 69.61% 20%)
Android#ffcc303e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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