Skip to content
Vectorlight.net

#cc252c

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

HEX
#cc252c
RGB
204, 37, 44
HSL
357.49°, 69.29%, 47.25%
OKLCH
0.55 0.2 25.36
Names
—
Lists

Codes

FormatValue
HEX#cc252c
RGBrgb(204 37 44)
HSLhsl(357.49 69.29% 47.25%)
OKLCHoklch(0.55 0.2 25.36)
CMYKcmyk(0% 81.86% 78.43% 20%)
Android#ffcc252c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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