Skip to content

#cc2dbf

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

RGB
204, 45, 191
HSL
305°, 64%, 49%
CMYK
0, 78, 6, 20
Luminance
0.1848

Every format

HEX#cc2dbf
RGBrgb(204, 45, 191)
HSLhsl(305, 64%, 49%)
CMYKcmyk(0%, 78%, 6%, 20%)
LABlab(50.1 74.4 -41.4)
LCHlch(50.1 85.2 330.9)
OKLCHoklch(0.602 0.242 331.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cc2dbf on white: 4.47:1
AA ✗ fail · AA-large · AAA
Aa
#cc2dbf on black: 4.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green17.6%
Blue74.9%

CMYK percentages

Cyan0.0%
Magenta77.9%
Yellow6.4%
Key (black)20.0%

Color previews

#cc2dbf text on a black background

contrast 4.70:1

Card sample

#cc2dbf text on a white background

contrast 4.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cc2dbf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cc2dbf in the Color Lab