Skip to content

#cf2fc2

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

RGB
207, 47, 194
HSL
305°, 63%, 50%
CMYK
0, 77, 6, 19
Luminance
0.1919

Every format

HEX#cf2fc2
RGBrgb(207, 47, 194)
HSLhsl(305, 63%, 50%)
CMYKcmyk(0%, 77%, 6%, 19%)
LABlab(50.9 75.0 -41.8)
LCHlch(50.9 85.8 330.9)
OKLCHoklch(0.609 0.244 331.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf2fc2 on white: 4.34:1
AA ✗ fail · AA-large · AAA
Aa
#cf2fc2 on black: 4.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green18.4%
Blue76.1%

CMYK percentages

Cyan0.0%
Magenta77.3%
Yellow6.3%
Key (black)18.8%

Color previews

#cf2fc2 text on a black background

contrast 4.84:1

Card sample

#cf2fc2 text on a white background

contrast 4.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf2fc2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf2fc2 in the Color Lab