Skip to content

#dd2df7

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

RGB
221, 45, 247
HSL
292°, 93%, 57%
CMYK
11, 82, 0, 3
Luminance
0.2396

Every format

HEX#dd2df7
RGBrgb(221, 45, 247)
HSLhsl(292, 93%, 57%)
CMYKcmyk(11%, 82%, 0%, 3%)
LABlab(56.0 86.3 -63.5)
LCHlch(56.0 107.2 323.7)
OKLCHoklch(0.660 0.289 321.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dd2df7 on white: 3.63:1
AA ✗ fail · AA-large · AAA
Aa
#dd2df7 on black: 5.79:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.7%
Green17.6%
Blue96.9%

CMYK percentages

Cyan10.5%
Magenta81.8%
Yellow0.0%
Key (black)3.1%

Color previews

#dd2df7 text on a black background

contrast 5.79:1

Card sample

#dd2df7 text on a white background

contrast 3.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dd2df7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dd2df7 in the Color Lab