Skip to content

#ce2fd9

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

RGB
206, 47, 217
HSL
296°, 69%, 52%
CMYK
5, 78, 0, 15
Luminance
0.2016

Every format

HEX#ce2fd9
RGBrgb(206, 47, 217)
HSLhsl(296, 69%, 52%)
CMYKcmyk(5%, 78%, 0%, 15%)
LABlab(52.0 78.3 -53.2)
LCHlch(52.0 94.7 325.8)
OKLCHoklch(0.621 0.260 325.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce2fd9 on white: 4.17:1
AA ✗ fail · AA-large · AAA
Aa
#ce2fd9 on black: 5.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green18.4%
Blue85.1%

CMYK percentages

Cyan5.1%
Magenta78.3%
Yellow0.0%
Key (black)14.9%

Color previews

#ce2fd9 text on a black background

contrast 5.03:1

Card sample

#ce2fd9 text on a white background

contrast 4.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce2fd9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce2fd9 in the Color Lab