Skip to content

#ce2fdb

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

RGB
206, 47, 219
HSL
296°, 71%, 52%
CMYK
6, 79, 0, 14
Luminance
0.2027

Every format

HEX#ce2fdb
RGBrgb(206, 47, 219)
HSLhsl(296, 71%, 52%)
CMYKcmyk(6%, 79%, 0%, 14%)
LABlab(52.1 78.6 -54.2)
LCHlch(52.1 95.5 325.4)
OKLCHoklch(0.622 0.261 324.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce2fdb on white: 4.16:1
AA ✗ fail · AA-large · AAA
Aa
#ce2fdb on black: 5.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green18.4%
Blue85.9%

CMYK percentages

Cyan5.9%
Magenta78.5%
Yellow0.0%
Key (black)14.1%

Color previews

#ce2fdb text on a black background

contrast 5.05:1

Card sample

#ce2fdb text on a white background

contrast 4.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce2fdb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce2fdb in the Color Lab