Skip to content

#df2a9f

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

RGB
223, 42, 159
HSL
321°, 74%, 52%
CMYK
0, 81, 29, 13
Luminance
0.1985

Every format

HEX#df2a9f
RGBrgb(223, 42, 159)
HSLhsl(321, 74%, 52%)
CMYKcmyk(0%, 81%, 29%, 13%)
LABlab(51.7 75.1 -19.9)
LCHlch(51.7 77.7 345.2)
OKLCHoklch(0.615 0.235 347.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df2a9f on white: 4.23:1
AA ✗ fail · AA-large · AAA
Aa
#df2a9f on black: 4.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green16.5%
Blue62.4%

CMYK percentages

Cyan0.0%
Magenta81.2%
Yellow28.7%
Key (black)12.5%

Color previews

#df2a9f text on a black background

contrast 4.97:1

Card sample

#df2a9f text on a white background

contrast 4.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df2a9f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df2a9f in the Color Lab