Skip to content

#cf2fce

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

RGB
207, 47, 206
HSL
300°, 63%, 50%
CMYK
0, 77, 1, 19
Luminance
0.1975

Every format

HEX#cf2fce
RGBrgb(207, 47, 206)
HSLhsl(300, 63%, 50%)
CMYKcmyk(0%, 77%, 1%, 19%)
LABlab(51.6 76.8 -47.7)
LCHlch(51.6 90.4 328.2)
OKLCHoklch(0.616 0.252 328.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf2fce on white: 4.24:1
AA ✗ fail · AA-large · AAA
Aa
#cf2fce on black: 4.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green18.4%
Blue80.8%

CMYK percentages

Cyan0.0%
Magenta77.3%
Yellow0.5%
Key (black)18.8%

Color previews

#cf2fce text on a black background

contrast 4.95:1

Card sample

#cf2fce text on a white background

contrast 4.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf2fce

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf2fce in the Color Lab