Skip to content

#cc56cf

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

RGB
204, 86, 207
HSL
299°, 56%, 58%
CMYK
1, 59, 0, 19
Luminance
0.2400

Every format

HEX#cc56cf
RGBrgb(204, 86, 207)
HSLhsl(299, 56%, 58%)
CMYKcmyk(1%, 59%, 0%, 19%)
LABlab(56.1 62.4 -41.1)
LCHlch(56.1 74.7 326.6)
OKLCHoklch(0.648 0.206 326.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cc56cf on white: 3.62:1
AA ✗ fail · AA-large · AAA
Aa
#cc56cf on black: 5.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green33.7%
Blue81.2%

CMYK percentages

Cyan1.4%
Magenta58.5%
Yellow0.0%
Key (black)18.8%

Color previews

#cc56cf text on a black background

contrast 5.80:1

Card sample

#cc56cf text on a white background

contrast 3.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cc56cf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cc56cf in the Color Lab