Skip to content

#cf22ce

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

RGB
207, 34, 206
HSL
300°, 72%, 47%
CMYK
0, 84, 1, 19
Luminance
0.1887

Every format

HEX#cf22ce
RGBrgb(207, 34, 206)
HSLhsl(300, 72%, 47%)
CMYKcmyk(0%, 84%, 1%, 19%)
LABlab(50.5 79.8 -49.3)
LCHlch(50.5 93.8 328.3)
OKLCHoklch(0.609 0.262 328.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf22ce on white: 4.40:1
AA ✗ fail · AA-large · AAA
Aa
#cf22ce on black: 4.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green13.3%
Blue80.8%

CMYK percentages

Cyan0.0%
Magenta83.6%
Yellow0.5%
Key (black)18.8%

Color previews

#cf22ce text on a black background

contrast 4.77:1

Card sample

#cf22ce text on a white background

contrast 4.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf22ce

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf22ce in the Color Lab