Skip to content

#df2bee

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

RGB
223, 43, 238
HSL
295°, 85%, 55%
CMYK
6, 82, 0, 7
Luminance
0.2359

Every format

HEX#df2bee
RGBrgb(223, 43, 238)
HSLhsl(295, 85%, 55%)
CMYKcmyk(6%, 82%, 0%, 7%)
LABlab(55.7 85.7 -59.1)
LCHlch(55.7 104.1 325.4)
OKLCHoklch(0.656 0.284 324.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df2bee on white: 3.67:1
AA ✗ fail · AA-large · AAA
Aa
#df2bee on black: 5.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green16.9%
Blue93.3%

CMYK percentages

Cyan6.3%
Magenta81.9%
Yellow0.0%
Key (black)6.7%

Color previews

#df2bee text on a black background

contrast 5.72:1

Card sample

#df2bee text on a white background

contrast 3.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df2bee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df2bee in the Color Lab