Skip to content
Vectorlight.net

#cc242a

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

HEX
#cc242a
RGB
204, 36, 42
HSL
357.86°, 70%, 47.06%
OKLCH
0.55 0.2 25.74
Names
—
Lists

Codes

FormatValue
HEX#cc242a
RGBrgb(204 36 42)
HSLhsl(357.86 70% 47.06%)
OKLCHoklch(0.55 0.2 25.74)
CMYKcmyk(0% 82.35% 79.41% 20%)
Android#ffcc242a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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