Skip to content

#df30f0

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

RGB
223, 48, 240
HSL
295°, 87%, 57%
CMYK
7, 80, 0, 6
Luminance
0.2409

Every format

HEX#df30f0
RGBrgb(223, 48, 240)
HSLhsl(295, 87%, 57%)
CMYKcmyk(7%, 80%, 0%, 6%)
LABlab(56.2 84.8 -59.4)
LCHlch(56.2 103.6 325.0)
OKLCHoklch(0.660 0.282 324.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df30f0 on white: 3.61:1
AA ✗ fail · AA-large · AAA
Aa
#df30f0 on black: 5.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green18.8%
Blue94.1%

CMYK percentages

Cyan7.1%
Magenta80.0%
Yellow0.0%
Key (black)5.9%

Color previews

#df30f0 text on a black background

contrast 5.82:1

Card sample

#df30f0 text on a white background

contrast 3.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df30f0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df30f0 in the Color Lab