Skip to content

#cc2c9b

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

RGB
204, 44, 155
HSL
318°, 65%, 49%
CMYK
0, 78, 24, 20
Luminance
0.1701

Every format

HEX#cc2c9b
RGBrgb(204, 44, 155)
HSLhsl(318, 65%, 49%)
CMYKcmyk(0%, 78%, 24%, 20%)
LABlab(48.3 69.8 -23.0)
LCHlch(48.3 73.5 341.8)
OKLCHoklch(0.583 0.220 343.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cc2c9b on white: 4.77:1
AA ✓ pass · AA-large · AAA
Aa
#cc2c9b on black: 4.40:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green17.3%
Blue60.8%

CMYK percentages

Cyan0.0%
Magenta78.4%
Yellow24.0%
Key (black)20.0%

Color previews

#cc2c9b text on a black background

contrast 4.40:1

Card sample

#cc2c9b text on a white background

contrast 4.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cc2c9b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cc2c9b in the Color Lab