Skip to content

#df1cef

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

RGB
223, 28, 239
HSL
296°, 87%, 52%
CMYK
7, 88, 0, 6
Luminance
0.2275

Every format

HEX#df1cef
RGBrgb(223, 28, 239)
HSLhsl(296, 87%, 52%)
CMYKcmyk(7%, 88%, 0%, 6%)
LABlab(54.8 88.5 -61.0)
LCHlch(54.8 107.5 325.4)
OKLCHoklch(0.650 0.294 324.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df1cef on white: 3.78:1
AA ✗ fail · AA-large · AAA
Aa
#df1cef on black: 5.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green11.0%
Blue93.7%

CMYK percentages

Cyan6.7%
Magenta88.3%
Yellow0.0%
Key (black)6.3%

Color previews

#df1cef text on a black background

contrast 5.55:1

Card sample

#df1cef text on a white background

contrast 3.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df1cef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df1cef in the Color Lab