Skip to content

#cc30df

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

RGB
204, 48, 223
HSL
294°, 73%, 53%
CMYK
9, 79, 0, 13
Luminance
0.2028

Every format

HEX#cc30df
RGBrgb(204, 48, 223)
HSLhsl(294, 73%, 53%)
CMYKcmyk(9%, 79%, 0%, 13%)
LABlab(52.1 78.7 -56.5)
LCHlch(52.1 96.8 324.3)
OKLCHoklch(0.622 0.263 323.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cc30df on white: 4.15:1
AA ✗ fail · AA-large · AAA
Aa
#cc30df on black: 5.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green18.8%
Blue87.5%

CMYK percentages

Cyan8.5%
Magenta78.5%
Yellow0.0%
Key (black)12.5%

Color previews

#cc30df text on a black background

contrast 5.06:1

Card sample

#cc30df text on a white background

contrast 4.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cc30df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cc30df in the Color Lab