Skip to content

#cf2aab

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

RGB
207, 42, 171
HSL
313°, 66%, 49%
CMYK
0, 80, 17, 19
Luminance
0.1786

Every format

HEX#cf2aab
RGBrgb(207, 42, 171)
HSLhsl(313, 66%, 49%)
CMYKcmyk(0%, 80%, 17%, 19%)
LABlab(49.3 73.0 -30.8)
LCHlch(49.3 79.3 337.1)
OKLCHoklch(0.594 0.233 339.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf2aab on white: 4.59:1
AA ✓ pass · AA-large · AAA
Aa
#cf2aab on black: 4.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green16.5%
Blue67.1%

CMYK percentages

Cyan0.0%
Magenta79.7%
Yellow17.4%
Key (black)18.8%

Color previews

#cf2aab text on a black background

contrast 4.57:1

Card sample

#cf2aab text on a white background

contrast 4.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf2aab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf2aab in the Color Lab