Skip to content
Vectorlight.net

#cc266d

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

HEX
#cc266d
RGB
204, 38, 109
HSL
334.34°, 68.6%, 47.45%
OKLCH
0.56 0.2 1.39
Names
—
Lists

Codes

FormatValue
HEX#cc266d
RGBrgb(204 38 109)
HSLhsl(334.34 68.6% 47.45%)
OKLCHoklch(0.56 0.2 1.39)
CMYKcmyk(0% 81.37% 46.57% 20%)
Android#ffcc266d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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