Skip to content
Vectorlight.net

#cc402a

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

HEX
#cc402a
RGB
204, 64, 42
HSL
8.15°, 65.85%, 48.24%
OKLCH
0.57 0.18 31.69
Names
—
Lists

Codes

FormatValue
HEX#cc402a
RGBrgb(204 64 42)
HSLhsl(8.15 65.85% 48.24%)
OKLCHoklch(0.57 0.18 31.69)
CMYKcmyk(0% 68.63% 79.41% 20%)
Android#ffcc402a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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