Skip to content

#dd2cdf

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

RGB
221, 44, 223
HSL
299°, 74%, 52%
CMYK
1, 80, 0, 13
Luminance
0.2250

Every format

HEX#dd2cdf
RGBrgb(221, 44, 223)
HSLhsl(299, 74%, 52%)
CMYKcmyk(1%, 80%, 0%, 13%)
LABlab(54.6 82.8 -52.5)
LCHlch(54.6 98.0 327.6)
OKLCHoklch(0.645 0.272 327.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dd2cdf on white: 3.82:1
AA ✗ fail · AA-large · AAA
Aa
#dd2cdf on black: 5.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.7%
Green17.3%
Blue87.5%

CMYK percentages

Cyan0.9%
Magenta80.3%
Yellow0.0%
Key (black)12.5%

Color previews

#dd2cdf text on a black background

contrast 5.50:1

Card sample

#dd2cdf text on a white background

contrast 3.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(221, 44, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(221, 44, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dd2cdf;
background: linear-gradient(135deg, #dd2cdf, #DF2C6A);

Monochromatic scale

Palettes built from #dd2cdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dd2cdf in the Color Lab