Skip to content
Vectorlight.net

#cc154c

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

HEX
#cc154c
RGB
204, 21, 76
HSL
341.97°, 81.33%, 44.12%
OKLCH
0.54 0.21 13.06
Names
—
Lists

Codes

FormatValue
HEX#cc154c
RGBrgb(204 21 76)
HSLhsl(341.97 81.33% 44.12%)
OKLCHoklch(0.54 0.21 13.06)
CMYKcmyk(0% 89.71% 62.75% 20%)
Android#ffcc154c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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