Skip to content

#dc2ddb

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

RGB
220, 45, 219
HSL
300°, 71%, 52%
CMYK
0, 80, 1, 14
Luminance
0.2221

Every format

HEX#dc2ddb
RGBrgb(220, 45, 219)
HSLhsl(300, 71%, 52%)
CMYKcmyk(0%, 80%, 1%, 14%)
LABlab(54.3 81.8 -50.7)
LCHlch(54.3 96.2 328.2)
OKLCHoklch(0.641 0.269 328.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dc2ddb on white: 3.86:1
AA ✗ fail · AA-large · AAA
Aa
#dc2ddb on black: 5.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green17.6%
Blue85.9%

CMYK percentages

Cyan0.0%
Magenta79.5%
Yellow0.5%
Key (black)13.7%

Color previews

#dc2ddb text on a black background

contrast 5.44:1

Card sample

#dc2ddb text on a white background

contrast 3.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dc2ddb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dc2ddb in the Color Lab