Skip to content

#df40da

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

RGB
223, 64, 218
HSL
302°, 71%, 56%
CMYK
0, 71, 2, 13
Luminance
0.2442

Every format

HEX#df40da
RGBrgb(223, 64, 218)
HSLhsl(302, 71%, 56%)
CMYKcmyk(0%, 71%, 2%, 13%)
LABlab(56.5 76.9 -46.5)
LCHlch(56.5 89.9 328.9)
OKLCHoklch(0.658 0.252 329.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df40da on white: 3.57:1
AA ✗ fail · AA-large · AAA
Aa
#df40da on black: 5.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green25.1%
Blue85.5%

CMYK percentages

Cyan0.0%
Magenta71.3%
Yellow2.2%
Key (black)12.5%

Color previews

#df40da text on a black background

contrast 5.88:1

Card sample

#df40da text on a white background

contrast 3.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df40da

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df40da in the Color Lab