Skip to content
Vectorlight.net

#cc255b

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

HEX
#cc255b
RGB
204, 37, 91
HSL
340.6°, 69.29%, 47.25%
OKLCH
0.56 0.2 8.71
Names
—
Lists

Codes

FormatValue
HEX#cc255b
RGBrgb(204 37 91)
HSLhsl(340.6 69.29% 47.25%)
OKLCHoklch(0.56 0.2 8.71)
CMYKcmyk(0% 81.86% 55.39% 20%)
Android#ffcc255b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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