Skip to content

#cc4fac

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

RGB
204, 79, 172
HSL
315°, 55%, 56%
CMYK
0, 61, 16, 20
Luminance
0.2141

Every format

HEX#cc4fac
RGBrgb(204, 79, 172)
HSLhsl(315, 55%, 56%)
CMYKcmyk(0%, 61%, 16%, 20%)
LABlab(53.4 59.8 -25.1)
LCHlch(53.4 64.8 337.2)
OKLCHoklch(0.623 0.189 339.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green31.0%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta61.3%
Yellow15.7%
Key (black)20.0%

Color previews

#cc4fac text on a black background

contrast 5.28:1

Card sample

#cc4fac text on a white background

contrast 3.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cc4fac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cc4fac in the Color Lab