Skip to content

#df0cbc

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

RGB
223, 12, 188
HSL
310°, 90%, 46%
CMYK
0, 95, 16, 13
Luminance
0.1958

Every format

HEX#df0cbc
RGBrgb(223, 12, 188)
HSLhsl(310, 90%, 46%)
CMYKcmyk(0%, 95%, 16%, 13%)
LABlab(51.4 83.2 -37.4)
LCHlch(51.4 91.2 335.8)
OKLCHoklch(0.617 0.267 337.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df0cbc on white: 4.27:1
AA ✗ fail · AA-large · AAA
Aa
#df0cbc on black: 4.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green4.7%
Blue73.7%

CMYK percentages

Cyan0.0%
Magenta94.6%
Yellow15.7%
Key (black)12.5%

Color previews

#df0cbc text on a black background

contrast 4.92:1

Card sample

#df0cbc text on a white background

contrast 4.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df0cbc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df0cbc in the Color Lab