Skip to content

#ce2dda

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

RGB
206, 45, 218
HSL
296°, 70%, 52%
CMYK
6, 79, 0, 15
Luminance
0.2006

Every format

HEX#ce2dda
RGBrgb(206, 45, 218)
HSLhsl(296, 70%, 52%)
CMYKcmyk(6%, 79%, 0%, 15%)
LABlab(51.9 79.0 -54.0)
LCHlch(51.9 95.7 325.6)
OKLCHoklch(0.620 0.262 324.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce2dda on white: 4.19:1
AA ✗ fail · AA-large · AAA
Aa
#ce2dda on black: 5.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green17.6%
Blue85.5%

CMYK percentages

Cyan5.5%
Magenta79.4%
Yellow0.0%
Key (black)14.5%

Color previews

#ce2dda text on a black background

contrast 5.01:1

Card sample

#ce2dda text on a white background

contrast 4.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce2dda

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce2dda in the Color Lab