Skip to content

#df3fab

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

RGB
223, 63, 171
HSL
320°, 71%, 56%
CMYK
0, 72, 23, 13
Luminance
0.2218

Every format

HEX#df3fab
RGBrgb(223, 63, 171)
HSLhsl(320, 71%, 56%)
CMYKcmyk(0%, 72%, 23%, 13%)
LABlab(54.2 70.6 -23.0)
LCHlch(54.2 74.3 341.9)
OKLCHoklch(0.635 0.222 343.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df3fab on white: 3.86:1
AA ✗ fail · AA-large · AAA
Aa
#df3fab on black: 5.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green24.7%
Blue67.1%

CMYK percentages

Cyan0.0%
Magenta71.7%
Yellow23.3%
Key (black)12.5%

Color previews

#df3fab text on a black background

contrast 5.44:1

Card sample

#df3fab text on a white background

contrast 3.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df3fab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df3fab in the Color Lab