Skip to content

#cf2ace

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

RGB
207, 42, 206
HSL
300°, 66%, 49%
CMYK
0, 80, 1, 19
Luminance
0.1938

Every format

HEX#cf2ace
RGBrgb(207, 42, 206)
HSLhsl(300, 66%, 49%)
CMYKcmyk(0%, 80%, 1%, 19%)
LABlab(51.1 78.0 -48.4)
LCHlch(51.1 91.8 328.2)
OKLCHoklch(0.613 0.256 328.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf2ace on white: 4.31:1
AA ✗ fail · AA-large · AAA
Aa
#cf2ace on black: 4.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green16.5%
Blue80.8%

CMYK percentages

Cyan0.0%
Magenta79.7%
Yellow0.5%
Key (black)18.8%

Color previews

#cf2ace text on a black background

contrast 4.88:1

Card sample

#cf2ace text on a white background

contrast 4.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf2ace

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf2ace in the Color Lab