Skip to content

#cf2ccf

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

RGB
207, 44, 207
HSL
300°, 65%, 49%
CMYK
0, 79, 0, 19
Luminance
0.1957

Every format

HEX#cf2ccf
RGBrgb(207, 44, 207)
HSLhsl(300, 65%, 49%)
CMYKcmyk(0%, 79%, 0%, 19%)
LABlab(51.4 77.7 -48.6)
LCHlch(51.4 91.6 328.0)
OKLCHoklch(0.615 0.255 328.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf2ccf on white: 4.27:1
AA ✗ fail · AA-large · AAA
Aa
#cf2ccf on black: 4.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green17.3%
Blue81.2%

CMYK percentages

Cyan0.0%
Magenta78.7%
Yellow0.0%
Key (black)18.8%

Color previews

#cf2ccf text on a black background

contrast 4.91:1

Card sample

#cf2ccf text on a white background

contrast 4.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf2ccf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf2ccf in the Color Lab