Skip to content
Vectorlight.net

#cc1a22

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

HEX
#cc1a22
RGB
204, 26, 34
HSL
357.3°, 77.39%, 45.1%
OKLCH
0.54 0.21 26.4
Names
—
Lists

Codes

FormatValue
HEX#cc1a22
RGBrgb(204 26 34)
HSLhsl(357.3 77.39% 45.1%)
OKLCHoklch(0.54 0.21 26.4)
CMYKcmyk(0% 87.25% 83.33% 20%)
Android#ffcc1a22

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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