Skip to content

#cc2dad

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

RGB
204, 45, 173
HSL
312°, 64%, 49%
CMYK
0, 78, 15, 20
Luminance
0.1773

Every format

HEX#cc2dad
RGBrgb(204, 45, 173)
HSLhsl(312, 64%, 49%)
CMYKcmyk(0%, 78%, 15%, 20%)
LABlab(49.2 71.9 -32.3)
LCHlch(49.2 78.8 335.8)
OKLCHoklch(0.592 0.230 337.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cc2dad on white: 4.62:1
AA ✓ pass · AA-large · AAA
Aa
#cc2dad on black: 4.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green17.6%
Blue67.8%

CMYK percentages

Cyan0.0%
Magenta77.9%
Yellow15.2%
Key (black)20.0%

Color previews

#cc2dad text on a black background

contrast 4.55:1

Card sample

#cc2dad text on a white background

contrast 4.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cc2dad

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cc2dad in the Color Lab