Skip to content
Vectorlight.net

#cc002f

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

HEX
#cc002f
RGB
204, 0, 47
HSL
346.18°, 100%, 40%
OKLCH
0.53 0.21 21.47
Names
—
Lists

Codes

FormatValue
HEX#cc002f
RGBrgb(204 0 47)
HSLhsl(346.18 100% 40%)
OKLCHoklch(0.53 0.21 21.47)
CMYKcmyk(0% 100% 76.96% 20%)
Android#ffcc002f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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