Skip to content

#ce2fce

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

RGB
206, 47, 206
HSL
300°, 63%, 50%
CMYK
0, 77, 0, 19
Luminance
0.1961

Every format

HEX#ce2fce
RGBrgb(206, 47, 206)
HSLhsl(300, 63%, 50%)
CMYKcmyk(0%, 77%, 0%, 19%)
LABlab(51.4 76.6 -47.9)
LCHlch(51.4 90.3 328.0)
OKLCHoklch(0.615 0.252 328.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce2fce on white: 4.27:1
AA ✗ fail · AA-large · AAA
Aa
#ce2fce on black: 4.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green18.4%
Blue80.8%

CMYK percentages

Cyan0.0%
Magenta77.2%
Yellow0.0%
Key (black)19.2%

Color previews

#ce2fce text on a black background

contrast 4.92:1

Card sample

#ce2fce text on a white background

contrast 4.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce2fce

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce2fce in the Color Lab