Skip to content

#df2ddb

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

RGB
223, 45, 219
HSL
301°, 74%, 53%
CMYK
0, 80, 2, 13
Luminance
0.2268

Every format

HEX#df2ddb
RGBrgb(223, 45, 219)
HSLhsl(301, 74%, 53%)
CMYKcmyk(0%, 80%, 2%, 13%)
LABlab(54.7 82.3 -49.9)
LCHlch(54.7 96.2 328.8)
OKLCHoklch(0.646 0.270 329.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green17.6%
Blue85.9%

CMYK percentages

Cyan0.0%
Magenta79.8%
Yellow1.8%
Key (black)12.5%

Color previews

#df2ddb text on a black background

contrast 5.54:1

Card sample

#df2ddb text on a white background

contrast 3.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df2ddb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df2ddb in the Color Lab