Skip to content
Vectorlight.net

#cc402f

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

HEX
#cc402f
RGB
204, 64, 47
HSL
6.5°, 62.55%, 49.22%
OKLCH
0.57 0.18 30.3
Names
—
Lists

Codes

FormatValue
HEX#cc402f
RGBrgb(204 64 47)
HSLhsl(6.5 62.55% 49.22%)
OKLCHoklch(0.57 0.18 30.3)
CMYKcmyk(0% 68.63% 76.96% 20%)
Android#ffcc402f

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

Recolor an SVG with this color

CSS

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