Skip to content

#cd2dab

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

RGB
205, 45, 171
HSL
313°, 64%, 49%
CMYK
0, 78, 17, 20
Luminance
0.1780

Every format

HEX#cd2dab
RGBrgb(205, 45, 171)
HSLhsl(313, 64%, 49%)
CMYKcmyk(0%, 78%, 17%, 20%)
LABlab(49.3 71.8 -31.0)
LCHlch(49.3 78.2 336.7)
OKLCHoklch(0.593 0.229 338.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd2dab on white: 4.61:1
AA ✓ pass · AA-large · AAA
Aa
#cd2dab on black: 4.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green17.6%
Blue67.1%

CMYK percentages

Cyan0.0%
Magenta78.0%
Yellow16.6%
Key (black)19.6%

Color previews

#cd2dab text on a black background

contrast 4.56:1

Card sample

#cd2dab text on a white background

contrast 4.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd2dab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cd2dab in the Color Lab