Skip to content

#cc4bba

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

RGB
204, 75, 186
HSL
308°, 56%, 55%
CMYK
0, 63, 9, 20
Luminance
0.2141

Every format

HEX#cc4bba
RGBrgb(204, 75, 186)
HSLhsl(308, 56%, 55%)
CMYKcmyk(0%, 63%, 9%, 20%)
LABlab(53.4 63.5 -33.3)
LCHlch(53.4 71.7 332.4)
OKLCHoklch(0.625 0.205 333.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cc4bba on white: 3.98:1
AA ✗ fail · AA-large · AAA
Aa
#cc4bba on black: 5.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green29.4%
Blue72.9%

CMYK percentages

Cyan0.0%
Magenta63.2%
Yellow8.8%
Key (black)20.0%

Color previews

#cc4bba text on a black background

contrast 5.28:1

Card sample

#cc4bba text on a white background

contrast 3.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cc4bba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cc4bba in the Color Lab