Skip to content

#df1eeb

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

RGB
223, 30, 235
HSL
297°, 84%, 52%
CMYK
5, 87, 0, 8
Luminance
0.2261

Every format

HEX#df1eeb
RGBrgb(223, 30, 235)
HSLhsl(297, 84%, 52%)
CMYKcmyk(5%, 87%, 0%, 8%)
LABlab(54.7 87.6 -59.0)
LCHlch(54.7 105.6 326.0)
OKLCHoklch(0.648 0.290 325.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green11.8%
Blue92.2%

CMYK percentages

Cyan5.1%
Magenta87.2%
Yellow0.0%
Key (black)7.8%

Color previews

#df1eeb text on a black background

contrast 5.52:1

Card sample

#df1eeb text on a white background

contrast 3.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df1eeb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df1eeb in the Color Lab