Skip to content

#cc56cc

a balanced, vivid magenta / pink · warm · closest name: orchid

RGB
204, 86, 204
HSL
300°, 54%, 57%
CMYK
0, 58, 0, 20
Luminance
0.2385

Every format

HEX#cc56cc
RGBrgb(204, 86, 204)
HSLhsl(300, 54%, 57%)
CMYKcmyk(0%, 58%, 0%, 20%)
LABlab(55.9 61.9 -39.6)
LCHlch(55.9 73.5 327.4)
OKLCHoklch(0.646 0.204 327.6)

Copy-ready code

/* CSS */
color: #cc56cc;
background-color: #cc56cc;
/* Tailwind (arbitrary) */
class="text-[#cc56cc] bg-[#cc56cc]"
/* SCSS */
$brand: #cc56cc;
/* SwiftUI */
Color(red: 0.800, green: 0.337, blue: 0.800)
/* Android */
Color.parseColor("#cc56cc")

Accessibility — WCAG contrast

Aa
#cc56cc on white: 3.64:1
AA ✗ fail · AA-large · AAA
Aa
#cc56cc on black: 5.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green33.7%
Blue80.0%

CMYK percentages

Cyan0.0%
Magenta57.8%
Yellow0.0%
Key (black)20.0%

Color previews

#cc56cc text on a black background

contrast 5.77:1

Card sample

#cc56cc text on a white background

contrast 3.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #cc56cc;
Background color
Panel with #cc56cc background
background-color: #cc56cc;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #cc56cc;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(204, 86, 204, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 86, 204, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cc56cc;
background: linear-gradient(135deg, #cc56cc, #CC567D);

Monochromatic scale

Palettes built from #cc56cc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cc56cc in the Color Lab