Skip to content

#dd0df2

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

RGB
221, 13, 242
HSL
295°, 90%, 50%
CMYK
9, 95, 0, 5
Luminance
0.2207

Every format

HEX#dd0df2
RGBrgb(221, 13, 242)
HSLhsl(295, 90%, 50%)
CMYKcmyk(9%, 95%, 0%, 5%)
LABlab(54.1 90.3 -63.9)
LCHlch(54.1 110.7 324.7)
OKLCHoklch(0.645 0.300 323.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dd0df2 on white: 3.88:1
AA ✗ fail · AA-large · AAA
Aa
#dd0df2 on black: 5.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.7%
Green5.1%
Blue94.9%

CMYK percentages

Cyan8.7%
Magenta94.6%
Yellow0.0%
Key (black)5.1%

Color previews

#dd0df2 text on a black background

contrast 5.41:1

Card sample

#dd0df2 text on a white background

contrast 3.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dd0df2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dd0df2 in the Color Lab