Skip to content

#ce2dcc

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

RGB
206, 45, 204
HSL
301°, 64%, 49%
CMYK
0, 78, 1, 19
Luminance
0.1936

Every format

HEX#ce2dcc
RGBrgb(206, 45, 204)
HSLhsl(301, 64%, 49%)
CMYKcmyk(0%, 78%, 1%, 19%)
LABlab(51.1 76.8 -47.3)
LCHlch(51.1 90.2 328.4)
OKLCHoklch(0.612 0.252 328.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce2dcc on white: 4.31:1
AA ✗ fail · AA-large · AAA
Aa
#ce2dcc on black: 4.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green17.6%
Blue80.0%

CMYK percentages

Cyan0.0%
Magenta78.2%
Yellow1.0%
Key (black)19.2%

Color previews

#ce2dcc text on a black background

contrast 4.87:1

Card sample

#ce2dcc text on a white background

contrast 4.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce2dcc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce2dcc in the Color Lab