Skip to content

#cf2fac

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

RGB
207, 47, 172
HSL
313°, 63%, 50%
CMYK
0, 77, 17, 19
Luminance
0.1828

Every format

HEX#cf2fac
RGBrgb(207, 47, 172)
HSLhsl(313, 63%, 50%)
CMYKcmyk(0%, 77%, 17%, 19%)
LABlab(49.8 71.8 -30.6)
LCHlch(49.8 78.1 336.9)
OKLCHoklch(0.598 0.229 338.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf2fac on white: 4.51:1
AA ✓ pass · AA-large · AAA
Aa
#cf2fac on black: 4.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green18.4%
Blue67.5%

CMYK percentages

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

Color previews

#cf2fac text on a black background

contrast 4.66:1

Card sample

#cf2fac text on a white background

contrast 4.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf2fac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf2fac in the Color Lab