Skip to content

#df40af

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

RGB
223, 64, 175
HSL
318°, 71%, 56%
CMYK
0, 71, 22, 13
Luminance
0.2245

Every format

HEX#df40af
RGBrgb(223, 64, 175)
HSLhsl(318, 71%, 56%)
CMYKcmyk(0%, 71%, 22%, 13%)
LABlab(54.5 70.8 -24.9)
LCHlch(54.5 75.1 340.6)
OKLCHoklch(0.637 0.223 342.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df40af on white: 3.83:1
AA ✗ fail · AA-large · AAA
Aa
#df40af on black: 5.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green25.1%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta71.3%
Yellow21.5%
Key (black)12.5%

Color previews

#df40af text on a black background

contrast 5.49:1

Card sample

#df40af text on a white background

contrast 3.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df40af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df40af in the Color Lab