Skip to content

#df40d2

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

RGB
223, 64, 210
HSL
305°, 71%, 56%
CMYK
0, 71, 6, 13
Luminance
0.2401

Every format

HEX#df40d2
RGBrgb(223, 64, 210)
HSLhsl(305, 71%, 56%)
CMYKcmyk(0%, 71%, 6%, 13%)
LABlab(56.1 75.7 -42.6)
LCHlch(56.1 86.9 330.6)
OKLCHoklch(0.654 0.246 331.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df40d2 on white: 3.62:1
AA ✗ fail · AA-large · AAA
Aa
#df40d2 on black: 5.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green25.1%
Blue82.4%

CMYK percentages

Cyan0.0%
Magenta71.3%
Yellow5.8%
Key (black)12.5%

Color previews

#df40d2 text on a black background

contrast 5.80:1

Card sample

#df40d2 text on a white background

contrast 3.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df40d2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df40d2 in the Color Lab