Skip to content

#df1feb

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

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

Every format

HEX#df1feb
RGBrgb(223, 31, 235)
HSLhsl(297, 84%, 52%)
CMYKcmyk(5%, 87%, 0%, 8%)
LABlab(54.7 87.5 -58.9)
LCHlch(54.7 105.5 326.0)
OKLCHoklch(0.649 0.289 325.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green12.2%
Blue92.2%

CMYK percentages

Cyan5.1%
Magenta86.8%
Yellow0.0%
Key (black)7.8%

Color previews

#df1feb text on a black background

contrast 5.53:1

Card sample

#df1feb text on a white background

contrast 3.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df1feb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df1feb in the Color Lab