Skip to content

#df45f0

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

RGB
223, 69, 240
HSL
294°, 85%, 61%
CMYK
7, 71, 0, 6
Luminance
0.2624

Every format

HEX#df45f0
RGBrgb(223, 69, 240)
HSLhsl(294, 85%, 61%)
CMYKcmyk(7%, 71%, 0%, 6%)
LABlab(58.3 78.9 -56.1)
LCHlch(58.3 96.8 324.6)
OKLCHoklch(0.675 0.263 323.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df45f0 on white: 3.36:1
AA ✗ fail · AA-large · AAA
Aa
#df45f0 on black: 6.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green27.1%
Blue94.1%

CMYK percentages

Cyan7.1%
Magenta71.3%
Yellow0.0%
Key (black)5.9%

Color previews

#df45f0 text on a black background

contrast 6.25:1

Card sample

#df45f0 text on a white background

contrast 3.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df45f0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df45f0 in the Color Lab