Skip to content

#dc98df

a light, vivid magenta / pink · warm · closest name: plum

RGB
220, 152, 223
HSL
298°, 53%, 74%
CMYK
1, 32, 0, 13
Luminance
0.4300

Every format

HEX#dc98df
RGBrgb(220, 152, 223)
HSLhsl(298, 53%, 74%)
CMYKcmyk(1%, 32%, 0%, 13%)
LABlab(71.6 36.9 -25.9)
LCHlch(71.6 45.0 325.0)
OKLCHoklch(0.769 0.123 325.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dc98df on white: 2.19:1
AA ✗ fail · AA-large · AAA
Aa
#dc98df on black: 9.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green59.6%
Blue87.5%

CMYK percentages

Cyan1.3%
Magenta31.8%
Yellow0.0%
Key (black)12.5%

Color previews

#dc98df text on a black background

contrast 9.60:1

Card sample

#dc98df text on a white background

contrast 2.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dc98df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dc98df in the Color Lab