Skip to content

#cf52cc

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

RGB
207, 82, 204
HSL
301°, 57%, 57%
CMYK
0, 60, 1, 19
Luminance
0.2366

Every format

HEX#cf52cc
RGBrgb(207, 82, 204)
HSLhsl(301, 57%, 57%)
CMYKcmyk(0%, 60%, 1%, 19%)
LABlab(55.8 64.3 -39.9)
LCHlch(55.8 75.7 328.2)
OKLCHoklch(0.646 0.211 328.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf52cc on white: 3.66:1
AA ✗ fail · AA-large · AAA
Aa
#cf52cc on black: 5.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green32.2%
Blue80.0%

CMYK percentages

Cyan0.0%
Magenta60.4%
Yellow1.4%
Key (black)18.8%

Color previews

#cf52cc text on a black background

contrast 5.73:1

Card sample

#cf52cc text on a white background

contrast 3.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf52cc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf52cc in the Color Lab