Skip to content

#cd7dab

a balanced, soft magenta / pink · warm · closest name: plum

RGB
205, 125, 171
HSL
326°, 44%, 65%
CMYK
0, 39, 17, 20
Luminance
0.3059

Every format

HEX#cd7dab
RGBrgb(205, 125, 171)
HSLhsl(326, 44%, 65%)
CMYKcmyk(0%, 39%, 17%, 20%)
LABlab(62.2 37.4 -11.2)
LCHlch(62.2 39.0 343.3)
OKLCHoklch(0.689 0.114 345.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd7dab on white: 2.95:1
AA ✗ fail · AA-large · AAA
Aa
#cd7dab on black: 7.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green49.0%
Blue67.1%

CMYK percentages

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

Color previews

#cd7dab text on a black background

contrast 7.12:1

Card sample

#cd7dab text on a white background

contrast 2.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd7dab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cd7dab in the Color Lab