Skip to content

#cc2abb

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

RGB
204, 42, 187
HSL
306°, 66%, 48%
CMYK
0, 79, 8, 20
Luminance
0.1808

Every format

HEX#cc2abb
RGBrgb(204, 42, 187)
HSLhsl(306, 66%, 48%)
CMYKcmyk(0%, 79%, 8%, 20%)
LABlab(49.6 74.6 -39.8)
LCHlch(49.6 84.6 331.9)
OKLCHoklch(0.598 0.242 333.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cc2abb on white: 4.55:1
AA ✓ pass · AA-large · AAA
Aa
#cc2abb on black: 4.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green16.5%
Blue73.3%

CMYK percentages

Cyan0.0%
Magenta79.4%
Yellow8.3%
Key (black)20.0%

Color previews

#cc2abb text on a black background

contrast 4.62:1

Card sample

#cc2abb text on a white background

contrast 4.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cc2abb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cc2abb in the Color Lab