Skip to content

#df40b3

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

RGB
223, 64, 179
HSL
317°, 71%, 56%
CMYK
0, 71, 20, 13
Luminance
0.2261

Every format

HEX#df40b3
RGBrgb(223, 64, 179)
HSLhsl(317, 71%, 56%)
CMYKcmyk(0%, 71%, 20%, 13%)
LABlab(54.7 71.3 -27.0)
LCHlch(54.7 76.3 339.3)
OKLCHoklch(0.639 0.225 341.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df40b3 on white: 3.80:1
AA ✗ fail · AA-large · AAA
Aa
#df40b3 on black: 5.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green25.1%
Blue70.2%

CMYK percentages

Cyan0.0%
Magenta71.3%
Yellow19.7%
Key (black)12.5%

Color previews

#df40b3 text on a black background

contrast 5.52:1

Card sample

#df40b3 text on a white background

contrast 3.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df40b3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df40b3 in the Color Lab