Skip to content

#ce28cd

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

RGB
206, 40, 205
HSL
300°, 68%, 48%
CMYK
0, 81, 1, 19
Luminance
0.1905

Every format

HEX#ce28cd
RGBrgb(206, 40, 205)
HSLhsl(300, 68%, 48%)
CMYKcmyk(0%, 81%, 1%, 19%)
LABlab(50.8 78.2 -48.4)
LCHlch(50.8 91.9 328.2)
OKLCHoklch(0.610 0.257 328.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce28cd on white: 4.37:1
AA ✗ fail · AA-large · AAA
Aa
#ce28cd on black: 4.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green15.7%
Blue80.4%

CMYK percentages

Cyan0.0%
Magenta80.6%
Yellow0.5%
Key (black)19.2%

Color previews

#ce28cd text on a black background

contrast 4.81:1

Card sample

#ce28cd text on a white background

contrast 4.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce28cd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce28cd in the Color Lab