Skip to content

#df1cdf

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

RGB
223, 28, 223
HSL
300°, 78%, 49%
CMYK
0, 87, 0, 13
Luminance
0.2185

Every format

HEX#df1cdf
RGBrgb(223, 28, 223)
HSLhsl(300, 78%, 49%)
CMYKcmyk(0%, 87%, 0%, 13%)
LABlab(53.9 86.1 -53.5)
LCHlch(53.9 101.4 328.1)
OKLCHoklch(0.640 0.283 328.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df1cdf on white: 3.91:1
AA ✗ fail · AA-large · AAA
Aa
#df1cdf on black: 5.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green11.0%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta87.4%
Yellow0.0%
Key (black)12.5%

Color previews

#df1cdf text on a black background

contrast 5.37:1

Card sample

#df1cdf text on a white background

contrast 3.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df1cdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df1cdf in the Color Lab