Skip to content
Vectorlight.net

#cc062d

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

HEX
#cc062d
RGB
204, 6, 45
HSL
348.18°, 94.29%, 41.18%
OKLCH
0.54 0.21 22.31
Names
—
Lists

Codes

FormatValue
HEX#cc062d
RGBrgb(204 6 45)
HSLhsl(348.18 94.29% 41.18%)
OKLCHoklch(0.54 0.21 22.31)
CMYKcmyk(0% 97.06% 77.94% 20%)
Android#ffcc062d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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