Skip to content

#df2f98

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

RGB
223, 47, 152
HSL
324°, 73%, 53%
CMYK
0, 79, 32, 13
Luminance
0.1999

Every format

HEX#df2f98
RGBrgb(223, 47, 152)
HSLhsl(324, 73%, 53%)
CMYKcmyk(0%, 79%, 32%, 13%)
LABlab(51.8 73.1 -15.5)
LCHlch(51.8 74.7 348.0)
OKLCHoklch(0.615 0.228 349.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df2f98 on white: 4.20:1
AA ✗ fail · AA-large · AAA
Aa
#df2f98 on black: 5.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green18.4%
Blue59.6%

CMYK percentages

Cyan0.0%
Magenta78.9%
Yellow31.8%
Key (black)12.5%

Color previews

#df2f98 text on a black background

contrast 5.00:1

Card sample

#df2f98 text on a white background

contrast 4.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df2f98

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df2f98 in the Color Lab