Skip to content

#cf52af

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

RGB
207, 82, 175
HSL
315°, 57%, 57%
CMYK
0, 60, 16, 19
Luminance
0.2240

Every format

HEX#cf52af
RGBrgb(207, 82, 175)
HSLhsl(315, 57%, 57%)
CMYKcmyk(0%, 60%, 16%, 19%)
LABlab(54.5 59.7 -25.2)
LCHlch(54.5 64.8 337.1)
OKLCHoklch(0.632 0.189 338.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf52af on white: 3.83:1
AA ✗ fail · AA-large · AAA
Aa
#cf52af on black: 5.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green32.2%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta60.4%
Yellow15.5%
Key (black)18.8%

Color previews

#cf52af text on a black background

contrast 5.48:1

Card sample

#cf52af text on a white background

contrast 3.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf52af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf52af in the Color Lab