Skip to content

#cf2ade

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

RGB
207, 42, 222
HSL
295°, 73%, 52%
CMYK
7, 81, 0, 13
Luminance
0.2020

Every format

HEX#cf2ade
RGBrgb(207, 42, 222)
HSLhsl(295, 73%, 52%)
CMYKcmyk(7%, 81%, 0%, 13%)
LABlab(52.1 80.5 -56.0)
LCHlch(52.1 98.1 325.2)
OKLCHoklch(0.622 0.268 324.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf2ade on white: 4.17:1
AA ✗ fail · AA-large · AAA
Aa
#cf2ade on black: 5.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green16.5%
Blue87.1%

CMYK percentages

Cyan6.8%
Magenta81.1%
Yellow0.0%
Key (black)12.9%

Color previews

#cf2ade text on a black background

contrast 5.04:1

Card sample

#cf2ade text on a white background

contrast 4.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf2ade

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf2ade in the Color Lab