Skip to content

#df2fdb

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

RGB
223, 47, 219
HSL
301°, 73%, 53%
CMYK
0, 79, 2, 13
Luminance
0.2284

Every format

HEX#df2fdb
RGBrgb(223, 47, 219)
HSLhsl(301, 73%, 53%)
CMYKcmyk(0%, 79%, 2%, 13%)
LABlab(54.9 81.8 -49.6)
LCHlch(54.9 95.7 328.8)
OKLCHoklch(0.647 0.268 329.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df2fdb on white: 3.77:1
AA ✗ fail · AA-large · AAA
Aa
#df2fdb on black: 5.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green18.4%
Blue85.9%

CMYK percentages

Cyan0.0%
Magenta78.9%
Yellow1.8%
Key (black)12.5%

Color previews

#df2fdb text on a black background

contrast 5.57:1

Card sample

#df2fdb text on a white background

contrast 3.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df2fdb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df2fdb in the Color Lab