Skip to content

#df38dc

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

RGB
223, 56, 220
HSL
301°, 72%, 55%
CMYK
0, 75, 1, 13
Luminance
0.2368

Every format

HEX#df38dc
RGBrgb(223, 56, 220)
HSLhsl(301, 72%, 55%)
CMYKcmyk(0%, 75%, 1%, 13%)
LABlab(55.8 79.7 -48.8)
LCHlch(55.8 93.4 328.5)
OKLCHoklch(0.653 0.261 328.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df38dc on white: 3.66:1
AA ✗ fail · AA-large · AAA
Aa
#df38dc on black: 5.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green22.0%
Blue86.3%

CMYK percentages

Cyan0.0%
Magenta74.9%
Yellow1.3%
Key (black)12.5%

Color previews

#df38dc text on a black background

contrast 5.74:1

Card sample

#df38dc text on a white background

contrast 3.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df38dc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df38dc in the Color Lab