Skip to content

#cd2dc2

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

RGB
205, 45, 194
HSL
304°, 64%, 49%
CMYK
0, 78, 5, 20
Luminance
0.1875

Every format

HEX#cd2dc2
RGBrgb(205, 45, 194)
HSLhsl(304, 64%, 49%)
CMYKcmyk(0%, 78%, 5%, 20%)
LABlab(50.4 75.1 -42.6)
LCHlch(50.4 86.3 330.4)
OKLCHoklch(0.605 0.244 331.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd2dc2 on white: 4.42:1
AA ✗ fail · AA-large · AAA
Aa
#cd2dc2 on black: 4.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green17.6%
Blue76.1%

CMYK percentages

Cyan0.0%
Magenta78.0%
Yellow5.4%
Key (black)19.6%

Color previews

#cd2dc2 text on a black background

contrast 4.75:1

Card sample

#cd2dc2 text on a white background

contrast 4.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd2dc2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cd2dc2 in the Color Lab