Skip to content

#cc2cad

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

RGB
204, 44, 173
HSL
312°, 65%, 49%
CMYK
0, 78, 15, 20
Luminance
0.1766

Every format

HEX#cc2cad
RGBrgb(204, 44, 173)
HSLhsl(312, 65%, 49%)
CMYKcmyk(0%, 78%, 15%, 20%)
LABlab(49.1 72.1 -32.4)
LCHlch(49.1 79.1 335.8)
OKLCHoklch(0.592 0.231 337.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cc2cad on white: 4.63:1
AA ✓ pass · AA-large · AAA
Aa
#cc2cad on black: 4.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green17.3%
Blue67.8%

CMYK percentages

Cyan0.0%
Magenta78.4%
Yellow15.2%
Key (black)20.0%

Color previews

#cc2cad text on a black background

contrast 4.53:1

Card sample

#cc2cad text on a white background

contrast 4.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cc2cad

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cc2cad in the Color Lab