Skip to content

#dc18df

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

RGB
220, 24, 223
HSL
299°, 81%, 48%
CMYK
1, 89, 0, 13
Luminance
0.2120

Every format

HEX#dc18df
RGBrgb(220, 24, 223)
HSLhsl(299, 81%, 48%)
CMYKcmyk(1%, 89%, 0%, 13%)
LABlab(53.2 86.2 -54.7)
LCHlch(53.2 102.1 327.6)
OKLCHoklch(0.634 0.284 327.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dc18df on white: 4.01:1
AA ✗ fail · AA-large · AAA
Aa
#dc18df on black: 5.24:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green9.4%
Blue87.5%

CMYK percentages

Cyan1.3%
Magenta89.2%
Yellow0.0%
Key (black)12.5%

Color previews

#dc18df text on a black background

contrast 5.24:1

Card sample

#dc18df text on a white background

contrast 4.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dc18df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dc18df in the Color Lab