Skip to content

#cf2fcd

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

RGB
207, 47, 205
HSL
301°, 63%, 50%
CMYK
0, 77, 1, 19
Luminance
0.1971

Every format

HEX#cf2fcd
RGBrgb(207, 47, 205)
HSLhsl(301, 63%, 50%)
CMYKcmyk(0%, 77%, 1%, 19%)
LABlab(51.5 76.6 -47.2)
LCHlch(51.5 90.0 328.4)
OKLCHoklch(0.615 0.252 328.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf2fcd on white: 4.25:1
AA ✗ fail · AA-large · AAA
Aa
#cf2fcd on black: 4.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

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

Color previews

#cf2fcd text on a black background

contrast 4.94:1

Card sample

#cf2fcd text on a white background

contrast 4.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf2fcd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf2fcd in the Color Lab