Skip to content
Vectorlight.net

#cc123c

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

HEX
#cc123c
RGB
204, 18, 60
HSL
346.45°, 83.78%, 43.53%
OKLCH
0.54 0.21 18.49
Names
—
Lists

Codes

FormatValue
HEX#cc123c
RGBrgb(204 18 60)
HSLhsl(346.45 83.78% 43.53%)
OKLCHoklch(0.54 0.21 18.49)
CMYKcmyk(0% 91.18% 70.59% 20%)
Android#ffcc123c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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