Skip to content

#dd2fdf

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

RGB
221, 47, 223
HSL
299°, 73%, 53%
CMYK
1, 79, 0, 13
Luminance
0.2273

Every format

HEX#dd2fdf
RGBrgb(221, 47, 223)
HSLhsl(299, 73%, 53%)
CMYKcmyk(1%, 79%, 0%, 13%)
LABlab(54.8 82.1 -52.1)
LCHlch(54.8 97.2 327.6)
OKLCHoklch(0.646 0.270 327.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dd2fdf on white: 3.79:1
AA ✗ fail · AA-large · AAA
Aa
#dd2fdf on black: 5.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.7%
Green18.4%
Blue87.5%

CMYK percentages

Cyan0.9%
Magenta78.9%
Yellow0.0%
Key (black)12.5%

Color previews

#dd2fdf text on a black background

contrast 5.55:1

Card sample

#dd2fdf text on a white background

contrast 3.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dd2fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dd2fdf in the Color Lab