Skip to content

#cc52cd

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

RGB
204, 82, 205
HSL
300°, 55%, 56%
CMYK
1, 60, 0, 20
Luminance
0.2328

Every format

HEX#cc52cd
RGBrgb(204, 82, 205)
HSLhsl(300, 55%, 56%)
CMYKcmyk(1%, 60%, 0%, 20%)
LABlab(55.4 63.8 -41.1)
LCHlch(55.4 75.8 327.2)
OKLCHoklch(0.642 0.210 327.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cc52cd on white: 3.71:1
AA ✗ fail · AA-large · AAA
Aa
#cc52cd on black: 5.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green32.2%
Blue80.4%

CMYK percentages

Cyan0.5%
Magenta60.0%
Yellow0.0%
Key (black)19.6%

Color previews

#cc52cd text on a black background

contrast 5.66:1

Card sample

#cc52cd text on a white background

contrast 3.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cc52cd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cc52cd in the Color Lab