Skip to content

#df0bfc

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

RGB
223, 11, 252
HSL
293°, 98%, 52%
CMYK
12, 96, 0, 1
Luminance
0.2296

Every format

HEX#df0bfc
RGBrgb(223, 11, 252)
HSLhsl(293, 98%, 52%)
CMYKcmyk(12%, 96%, 0%, 1%)
LABlab(55.0 92.3 -68.0)
LCHlch(55.0 114.7 323.7)
OKLCHoklch(0.654 0.308 321.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df0bfc on white: 3.76:1
AA ✗ fail · AA-large · AAA
Aa
#df0bfc on black: 5.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green4.3%
Blue98.8%

CMYK percentages

Cyan11.5%
Magenta95.6%
Yellow0.0%
Key (black)1.2%

Color previews

#df0bfc text on a black background

contrast 5.59:1

Card sample

#df0bfc text on a white background

contrast 3.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df0bfc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df0bfc in the Color Lab