Skip to content
Vectorlight.net

#cc402e

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

HEX
#cc402e
RGB
204, 64, 46
HSL
6.84°, 63.2%, 49.02%
OKLCH
0.57 0.18 30.59
Names
—
Lists

Codes

FormatValue
HEX#cc402e
RGBrgb(204 64 46)
HSLhsl(6.84 63.2% 49.02%)
OKLCHoklch(0.57 0.18 30.59)
CMYKcmyk(0% 68.63% 77.45% 20%)
Android#ffcc402e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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