Skip to content

#cf2ecd

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

RGB
207, 46, 205
HSL
301°, 64%, 50%
CMYK
0, 78, 1, 19
Luminance
0.1963

Every format

HEX#cf2ecd
RGBrgb(207, 46, 205)
HSLhsl(301, 64%, 50%)
CMYKcmyk(0%, 78%, 1%, 19%)
LABlab(51.4 76.9 -47.3)
LCHlch(51.4 90.3 328.4)
OKLCHoklch(0.615 0.252 328.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf2ecd on white: 4.26:1
AA ✗ fail · AA-large · AAA
Aa
#cf2ecd on black: 4.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green18.0%
Blue80.4%

CMYK percentages

Cyan0.0%
Magenta77.8%
Yellow1.0%
Key (black)18.8%

Color previews

#cf2ecd text on a black background

contrast 4.93:1

Card sample

#cf2ecd text on a white background

contrast 4.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf2ecd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf2ecd in the Color Lab