Skip to content

#df0ccb

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

RGB
223, 12, 203
HSL
306°, 90%, 46%
CMYK
0, 95, 9, 13
Luminance
0.2026

Every format

HEX#df0ccb
RGBrgb(223, 12, 203)
HSLhsl(306, 90%, 46%)
CMYKcmyk(0%, 95%, 9%, 13%)
LABlab(52.1 85.2 -44.9)
LCHlch(52.1 96.2 332.2)
OKLCHoklch(0.625 0.276 333.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df0ccb on white: 4.16:1
AA ✗ fail · AA-large · AAA
Aa
#df0ccb on black: 5.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green4.7%
Blue79.6%

CMYK percentages

Cyan0.0%
Magenta94.6%
Yellow9.0%
Key (black)12.5%

Color previews

#df0ccb text on a black background

contrast 5.05:1

Card sample

#df0ccb text on a white background

contrast 4.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df0ccb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df0ccb in the Color Lab