Skip to content

#df40d4

a balanced, vivid magenta / pink · warm · closest name: orchid

RGB
223, 64, 212
HSL
304°, 71%, 56%
CMYK
0, 71, 5, 13
Luminance
0.2411

Every format

HEX#df40d4
RGBrgb(223, 64, 212)
HSLhsl(304, 71%, 56%)
CMYKcmyk(0%, 71%, 5%, 13%)
LABlab(56.2 76.0 -43.6)
LCHlch(56.2 87.6 330.2)
OKLCHoklch(0.655 0.248 331.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df40d4 on white: 3.61:1
AA ✗ fail · AA-large · AAA
Aa
#df40d4 on black: 5.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green25.1%
Blue83.1%

CMYK percentages

Cyan0.0%
Magenta71.3%
Yellow4.9%
Key (black)12.5%

Color previews

#df40d4 text on a black background

contrast 5.82:1

Card sample

#df40d4 text on a white background

contrast 3.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df40d4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df40d4 in the Color Lab