Skip to content

#cf2ae9

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

RGB
207, 42, 233
HSL
292°, 81%, 54%
CMYK
11, 82, 0, 9
Luminance
0.2080

Every format

HEX#cf2ae9
RGBrgb(207, 42, 233)
HSLhsl(292, 81%, 54%)
CMYKcmyk(11%, 82%, 0%, 9%)
LABlab(52.7 82.3 -61.1)
LCHlch(52.7 102.5 323.4)
OKLCHoklch(0.629 0.276 321.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf2ae9 on white: 4.07:1
AA ✗ fail · AA-large · AAA
Aa
#cf2ae9 on black: 5.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green16.5%
Blue91.4%

CMYK percentages

Cyan11.2%
Magenta82.0%
Yellow0.0%
Key (black)8.6%

Color previews

#cf2ae9 text on a black background

contrast 5.16:1

Card sample

#cf2ae9 text on a white background

contrast 4.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf2ae9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf2ae9 in the Color Lab