Skip to content

#df26dc

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

RGB
223, 38, 220
HSL
301°, 74%, 51%
CMYK
0, 83, 1, 13
Luminance
0.2224

Every format

HEX#df26dc
RGBrgb(223, 38, 220)
HSLhsl(301, 74%, 51%)
CMYKcmyk(0%, 83%, 1%, 13%)
LABlab(54.3 84.0 -51.2)
LCHlch(54.3 98.3 328.6)
OKLCHoklch(0.643 0.275 329.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df26dc on white: 3.85:1
AA ✗ fail · AA-large · AAA
Aa
#df26dc on black: 5.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green14.9%
Blue86.3%

CMYK percentages

Cyan0.0%
Magenta83.0%
Yellow1.3%
Key (black)12.5%

Color previews

#df26dc text on a black background

contrast 5.45:1

Card sample

#df26dc text on a white background

contrast 3.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df26dc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df26dc in the Color Lab