Skip to content

#cf2fc9

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

RGB
207, 47, 201
HSL
302°, 63%, 50%
CMYK
0, 77, 3, 19
Luminance
0.1952

Every format

HEX#cf2fc9
RGBrgb(207, 47, 201)
HSLhsl(302, 63%, 50%)
CMYKcmyk(0%, 77%, 3%, 19%)
LABlab(51.3 76.0 -45.2)
LCHlch(51.3 88.4 329.2)
OKLCHoklch(0.613 0.249 329.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf2fc9 on white: 4.28:1
AA ✗ fail · AA-large · AAA
Aa
#cf2fc9 on black: 4.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green18.4%
Blue78.8%

CMYK percentages

Cyan0.0%
Magenta77.3%
Yellow2.9%
Key (black)18.8%

Color previews

#cf2fc9 text on a black background

contrast 4.90:1

Card sample

#cf2fc9 text on a white background

contrast 4.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf2fc9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf2fc9 in the Color Lab