Skip to content

#cc45da

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

RGB
204, 69, 218
HSL
294°, 67%, 56%
CMYK
6, 68, 0, 15
Luminance
0.2216

Every format

HEX#cc45da
RGBrgb(204, 69, 218)
HSLhsl(294, 67%, 56%)
CMYKcmyk(6%, 68%, 0%, 15%)
LABlab(54.2 71.1 -50.4)
LCHlch(54.2 87.2 324.7)
OKLCHoklch(0.636 0.238 323.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cc45da on white: 3.87:1
AA ✗ fail · AA-large · AAA
Aa
#cc45da on black: 5.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green27.1%
Blue85.5%

CMYK percentages

Cyan6.4%
Magenta68.3%
Yellow0.0%
Key (black)14.5%

Color previews

#cc45da text on a black background

contrast 5.43:1

Card sample

#cc45da text on a white background

contrast 3.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cc45da

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cc45da in the Color Lab