Skip to content

#df2f79

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

RGB
223, 47, 121
HSL
335°, 73%, 53%
CMYK
0, 79, 46, 13
Luminance
0.1910

Every format

HEX#df2f79
RGBrgb(223, 47, 121)
HSLhsl(335, 73%, 53%)
CMYKcmyk(0%, 79%, 46%, 13%)
LABlab(50.8 70.1 1.6)
LCHlch(50.8 70.1 1.3)
OKLCHoklch(0.604 0.215 1.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df2f79 on white: 4.36:1
AA ✗ fail · AA-large · AAA
Aa
#df2f79 on black: 4.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green18.4%
Blue47.5%

CMYK percentages

Cyan0.0%
Magenta78.9%
Yellow45.7%
Key (black)12.5%

Color previews

#df2f79 text on a black background

contrast 4.82:1

Card sample

#df2f79 text on a white background

contrast 4.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df2f79

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df2f79 in the Color Lab