Skip to content

#df2bdd

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

RGB
223, 43, 221
HSL
301°, 74%, 52%
CMYK
0, 81, 1, 13
Luminance
0.2264

Every format

HEX#df2bdd
RGBrgb(223, 43, 221)
HSLhsl(301, 74%, 52%)
CMYKcmyk(0%, 81%, 1%, 13%)
LABlab(54.7 83.1 -51.1)
LCHlch(54.7 97.5 328.4)
OKLCHoklch(0.646 0.273 328.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df2bdd on white: 3.80:1
AA ✗ fail · AA-large · AAA
Aa
#df2bdd on black: 5.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green16.9%
Blue86.7%

CMYK percentages

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

Color previews

#df2bdd text on a black background

contrast 5.53:1

Card sample

#df2bdd text on a white background

contrast 3.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df2bdd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df2bdd in the Color Lab