Skip to content

#cc5fdf

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

RGB
204, 95, 223
HSL
291°, 67%, 62%
CMYK
9, 57, 0, 13
Luminance
0.2635

Every format

HEX#cc5fdf
RGBrgb(204, 95, 223)
HSLhsl(291, 67%, 62%)
CMYKcmyk(9%, 57%, 0%, 13%)
LABlab(58.4 61.2 -46.5)
LCHlch(58.4 76.9 322.8)
OKLCHoklch(0.667 0.208 321.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cc5fdf on white: 3.35:1
AA ✗ fail · AA-large · AAA
Aa
#cc5fdf on black: 6.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green37.3%
Blue87.5%

CMYK percentages

Cyan8.5%
Magenta57.4%
Yellow0.0%
Key (black)12.5%

Color previews

#cc5fdf text on a black background

contrast 6.27:1

Card sample

#cc5fdf text on a white background

contrast 3.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cc5fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cc5fdf in the Color Lab