Skip to content
Vectorlight.net

#cc003b

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

HEX
#cc003b
RGB
204, 0, 59
HSL
342.65°, 100%, 40%
OKLCH
0.54 0.21 17.87
Names
—
Lists

Codes

FormatValue
HEX#cc003b
RGBrgb(204 0 59)
HSLhsl(342.65 100% 40%)
OKLCHoklch(0.54 0.21 17.87)
CMYKcmyk(0% 100% 71.08% 20%)
Android#ffcc003b

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="#cc003b"
Gradient stop
<stop stop-color="#cc003b"/>
CSS variable + fill
:root { --c: #cc003b; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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