Skip to content

#cf2fed

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

RGB
207, 47, 237
HSL
291°, 84%, 56%
CMYK
13, 80, 0, 7
Luminance
0.2141

Every format

HEX#cf2fed
RGBrgb(207, 47, 237)
HSLhsl(291, 84%, 56%)
CMYKcmyk(13%, 80%, 0%, 7%)
LABlab(53.4 81.8 -62.3)
LCHlch(53.4 102.8 322.7)
OKLCHoklch(0.635 0.275 320.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf2fed on white: 3.98:1
AA ✗ fail · AA-large · AAA
Aa
#cf2fed on black: 5.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green18.4%
Blue92.9%

CMYK percentages

Cyan12.7%
Magenta80.2%
Yellow0.0%
Key (black)7.1%

Color previews

#cf2fed text on a black background

contrast 5.28:1

Card sample

#cf2fed text on a white background

contrast 3.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf2fed

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf2fed in the Color Lab