Skip to content

#cf2ccc

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

RGB
207, 44, 204
HSL
301°, 65%, 49%
CMYK
0, 79, 1, 19
Luminance
0.1943

Every format

HEX#cf2ccc
RGBrgb(207, 44, 204)
HSLhsl(301, 65%, 49%)
CMYKcmyk(0%, 79%, 1%, 19%)
LABlab(51.2 77.2 -47.1)
LCHlch(51.2 90.5 328.6)
OKLCHoklch(0.613 0.253 329.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf2ccc on white: 4.30:1
AA ✗ fail · AA-large · AAA
Aa
#cf2ccc on black: 4.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green17.3%
Blue80.0%

CMYK percentages

Cyan0.0%
Magenta78.7%
Yellow1.4%
Key (black)18.8%

Color previews

#cf2ccc text on a black background

contrast 4.89:1

Card sample

#cf2ccc text on a white background

contrast 4.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf2ccc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf2ccc in the Color Lab