Skip to content

#dc2ceb

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

RGB
220, 44, 235
HSL
295°, 83%, 55%
CMYK
6, 81, 0, 8
Luminance
0.2302

Every format

HEX#dc2ceb
RGBrgb(220, 44, 235)
HSLhsl(295, 83%, 55%)
CMYKcmyk(6%, 81%, 0%, 8%)
LABlab(55.1 84.5 -58.4)
LCHlch(55.1 102.7 325.3)
OKLCHoklch(0.650 0.281 324.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dc2ceb on white: 3.75:1
AA ✗ fail · AA-large · AAA
Aa
#dc2ceb on black: 5.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green17.3%
Blue92.2%

CMYK percentages

Cyan6.4%
Magenta81.3%
Yellow0.0%
Key (black)7.8%

Color previews

#dc2ceb text on a black background

contrast 5.60:1

Card sample

#dc2ceb text on a white background

contrast 3.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dc2ceb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dc2ceb in the Color Lab