Skip to content

#df4bef

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

RGB
223, 75, 239
HSL
294°, 84%, 62%
CMYK
7, 69, 0, 6
Luminance
0.2695

Every format

HEX#df4bef
RGBrgb(223, 75, 239)
HSLhsl(294, 84%, 62%)
CMYKcmyk(7%, 69%, 0%, 6%)
LABlab(58.9 76.6 -54.5)
LCHlch(58.9 94.0 324.6)
OKLCHoklch(0.679 0.256 323.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df4bef on white: 3.29:1
AA ✗ fail · AA-large · AAA
Aa
#df4bef on black: 6.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green29.4%
Blue93.7%

CMYK percentages

Cyan6.7%
Magenta68.6%
Yellow0.0%
Key (black)6.3%

Color previews

#df4bef text on a black background

contrast 6.39:1

Card sample

#df4bef text on a white background

contrast 3.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df4bef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df4bef in the Color Lab