Skip to content

#df40cd

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

RGB
223, 64, 205
HSL
307°, 71%, 56%
CMYK
0, 71, 8, 13
Luminance
0.2376

Every format

HEX#df40cd
RGBrgb(223, 64, 205)
HSLhsl(307, 71%, 56%)
CMYKcmyk(0%, 71%, 8%, 13%)
LABlab(55.9 75.0 -40.1)
LCHlch(55.9 85.0 331.8)
OKLCHoklch(0.651 0.243 333.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df40cd on white: 3.65:1
AA ✗ fail · AA-large · AAA
Aa
#df40cd on black: 5.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green25.1%
Blue80.4%

CMYK percentages

Cyan0.0%
Magenta71.3%
Yellow8.1%
Key (black)12.5%

Color previews

#df40cd text on a black background

contrast 5.75:1

Card sample

#df40cd text on a white background

contrast 3.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df40cd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df40cd in the Color Lab