Skip to content

#cc4cd8

a balanced, vivid magenta / pink · neutral · closest name: Medium Orchid

RGB
204, 76, 216
HSL
295°, 64%, 57%
CMYK
6, 65, 0, 15
Luminance
0.2296

At a glance

Every number on this page in one read: what #cc4cd8 is made of, how bright it looks, and which way it leans.

Hex
#cc4cd8
Hue
295°
magenta / pink
Saturation
64%
vivid
Lightness
57%
balanced
Brightness
85%
HSV value
Perceived
57%
weighted brightness
Luminance
0.2296
WCAG relative
Temperature
Neutral
53/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
5.59:1
Closest name
Medium Orchid
ΔE2000 3
Where it sits
Hue295° of 360°
Saturation64%
Lightness57%
Temperature
Warm ← → Cool53% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#cc4cd8
RGBrgb(204, 76, 216)
HSLhsl(295, 64%, 57%)
CMYKcmyk(6%, 65%, 0%, 15%)
LABlab(55.0 68.1 -47.9)
LCHlch(55.0 83.3 324.9)
OKLCHoklch(0.642 0.228 324.2)
Decimal13389016
Display P3color(display-p3 0.800 0.298 0.847)

Copy-ready code

/* CSS */
color: #cc4cd8;
background-color: #cc4cd8;
/* Tailwind (arbitrary) */
class="text-[#cc4cd8] bg-[#cc4cd8]"
/* SCSS */
$brand: #cc4cd8;
/* SwiftUI */
Color(red: 0.800, green: 0.298, blue: 0.847)
/* Android */
Color.parseColor("#cc4cd8")
/* Flutter */
Color(0xFFCC4CD8)
/* Python / OpenCV (BGR) */
(216, 76, 204)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #cc4cd8 · 5.59:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.75:1
AA fail · AA large pass · AAA fail
Aa
Black text · 5.59:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #cc4cd8 as text scores 3.75:1 on white and 5.59:1 on black.

Accessibility — WCAG contrast

Aa
#cc4cd8 on white: 3.75:1
AA ✗ fail · AA-large · AAA
Aa
#cc4cd8 on black: 5.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #2E7ADC
deuteranopia · #6489D4
tritanopia · #D0628C

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cc4cd8 is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FBF4FB
#F6E8F7
#EDCBF1
#E5A3EB
#D875E1
#cc4cd8
#BC2CC9
#9C25A7
#7D1D86
#5B1961
#39103D
Base = 500Lightest = 50 · #FBF4FBDarkest = 950 · #39103D
:root {
  --brand-50: #FBF4FB;
  --brand-100: #F6E8F7;
  --brand-200: #EDCBF1;
  --brand-300: #E5A3EB;
  --brand-400: #D875E1;
  --brand-500: #cc4cd8;
  --brand-600: #BC2CC9;
  --brand-700: #9C25A7;
  --brand-800: #7D1D86;
  --brand-900: #5B1961;
  --brand-950: #39103D;
  --brand: #cc4cd8;
  --brand-ink: #000000;
}

Colors that work with #cc4cd8

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#FAF4FA
Tinted page background
Border#E9C0ED
Hairlines and dividers
Muted text#944B9B
Captions on the surface
Accent#50AB21
Second voice, not a rival
Dark variant#621769
Hover, pressed, headers
Light variant#F9EAFA
Selected rows, tints
Dark surface#231424
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #cc4cd8

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#58D84C
Analogous left#864CD8
Analogous right#D84C9E
Split-complement 1#9ED84C
Split-complement 2#4CD886
Triadic 1#D8CC4C
Triadic 2#4CD8CC
Tetradic#D8864C

RGB percentages

Red80.0%
Green29.8%
Blue84.7%

CMYK percentages

Cyan5.6%
Magenta64.8%
Yellow0.0%
Key (black)15.3%

Color previews

#cc4cd8 text on a black background

contrast 5.59:1

Card sample

#cc4cd8 text on a white background

contrast 3.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cc4cd8

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#cc4cd8 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
BeautyFashionLifestyleYouth brands
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#cc4cd8, answered

What color is #cc4cd8?

#cc4cd8 is a balanced vivid magenta / pink, closest to Medium Orchid (ΔE2000 3). It sits at 295° on the hue wheel with 64% saturation and 57% lightness, which reads as neutral.

What is the RGB value of #cc4cd8?

rgb(204, 76, 216) — 204 red, 76 green and 216 blue out of 255, or 80% / 29.8% / 84.7% by channel.

Is #cc4cd8 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2296 and perceived brightness is 57%, so black text on it reaches 5.59:1.

Should I use black or white text on #cc4cd8?

Black. It scores 5.59:1 against #cc4cd8, versus 3.75:1 for white — AA at any size.

What is the complementary color of #cc4cd8?

#58D84C sits directly opposite on the wheel. Softer options are the split-complements #9ED84C and #4CD886, which give the same contrast with far less vibration.

What colors go well with #cc4cd8?

For interface work: #FAF4FA as the surface, #E9C0ED for borders, #944B9B for secondary text, #50AB21 as an accent and #621769 for hover and pressed states. For a palette, the analogous pair #864CD8 and #D84C9E stays calm, while #58D84C is the loudest partner.

What is #cc4cd8 in CMYK for printing?

cmyk(6%, 65%, 0%, 15%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #cc4cd8 warm or cool?

Neutral — it scores 53 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #D84CB1; nudged cooler, #994ADA.

Work with #cc4cd8 in the Color Lab