Skip to content

#cf7fac

a light, vivid magenta / pink · warm · closest name: plum

RGB
207, 127, 172
HSL
326°, 46%, 66%
CMYK
0, 39, 17, 19
Luminance
0.3142

Every format

HEX#cf7fac
RGBrgb(207, 127, 172)
HSLhsl(326, 46%, 66%)
CMYKcmyk(0%, 39%, 17%, 19%)
LABlab(62.9 37.1 -10.7)
LCHlch(62.9 38.6 343.9)
OKLCHoklch(0.695 0.114 345.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf7fac on white: 2.88:1
AA ✗ fail · AA-large · AAA
Aa
#cf7fac on black: 7.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green49.8%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta38.6%
Yellow16.9%
Key (black)18.8%

Color previews

#cf7fac text on a black background

contrast 7.28:1

Card sample

#cf7fac text on a white background

contrast 2.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf7fac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf7fac in the Color Lab