Skip to content

#cd4dab

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

RGB
205, 77, 171
HSL
316°, 56%, 55%
CMYK
0, 62, 17, 20
Luminance
0.2123

Every format

HEX#cd4dab
RGBrgb(205, 77, 171)
HSLhsl(316, 56%, 55%)
CMYKcmyk(0%, 62%, 17%, 20%)
LABlab(53.2 60.7 -24.8)
LCHlch(53.2 65.6 337.8)
OKLCHoklch(0.622 0.192 339.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd4dab on white: 4.00:1
AA ✗ fail · AA-large · AAA
Aa
#cd4dab on black: 5.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green30.2%
Blue67.1%

CMYK percentages

Cyan0.0%
Magenta62.4%
Yellow16.6%
Key (black)19.6%

Color previews

#cd4dab text on a black background

contrast 5.25:1

Card sample

#cd4dab text on a white background

contrast 4.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd4dab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cd4dab in the Color Lab