Skip to content

#dc38df

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

RGB
220, 56, 223
HSL
299°, 72%, 55%
CMYK
1, 75, 0, 13
Luminance
0.2337

Every format

HEX#dc38df
RGBrgb(220, 56, 223)
HSLhsl(299, 72%, 55%)
CMYKcmyk(1%, 75%, 0%, 13%)
LABlab(55.5 79.5 -51.0)
LCHlch(55.5 94.5 327.3)
OKLCHoklch(0.651 0.262 327.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dc38df on white: 3.70:1
AA ✗ fail · AA-large · AAA
Aa
#dc38df on black: 5.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green22.0%
Blue87.5%

CMYK percentages

Cyan1.3%
Magenta74.9%
Yellow0.0%
Key (black)12.5%

Color previews

#dc38df text on a black background

contrast 5.67:1

Card sample

#dc38df text on a white background

contrast 3.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dc38df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dc38df in the Color Lab