Skip to content

#cc87af

a light, soft magenta / pink · warm · closest name: Pale Violet Red

RGB
204, 135, 175
HSL
325°, 40%, 67%
CMYK
0, 34, 14, 20
Luminance
0.3326

At a glance

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

Hex
#cc87af
Hue
325°
magenta / pink
Saturation
40%
soft
Lightness
67%
light
Brightness
80%
HSV value
Perceived
64%
weighted brightness
Luminance
0.3326
WCAG relative
Temperature
Warm
36/100 cool
Color family
Magenta / pink
Tone
Soft
Best ink
Black
7.65:1
Closest name
Pale Violet Red
ΔE2000 8.5
Where it sits
Hue325° of 360°
Saturation40%
Lightness67%
Temperature
Warm ← → Cool36% cool

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

Every format

HEX#cc87af
RGBrgb(204, 135, 175)
HSLhsl(325, 40%, 67%)
CMYKcmyk(0%, 34%, 14%, 20%)
LABlab(64.4 32.3 -10.2)
LCHlch(64.4 33.9 342.5)
OKLCHoklch(0.706 0.099 344.2)
Decimal13404079
Display P3color(display-p3 0.800 0.529 0.686)

Copy-ready code

/* CSS */
color: #cc87af;
background-color: #cc87af;
/* Tailwind (arbitrary) */
class="text-[#cc87af] bg-[#cc87af]"
/* SCSS */
$brand: #cc87af;
/* SwiftUI */
Color(red: 0.800, green: 0.529, blue: 0.686)
/* Android */
Color.parseColor("#cc87af")
/* Flutter */
Color(0xFFCC87AF)
/* Python / OpenCV (BGR) */
(175, 135, 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 #cc87af · 7.65:1
Use #000000AAA at every size.
Aa
White text · 2.74:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.65:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #cc87af as text scores 2.74:1 on white and 7.65:1 on black.

Accessibility — WCAG contrast

Aa
#cc87af on white: 2.74:1
AA ✗ fail · AA-large · AAA
Aa
#cc87af on black: 7.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8B95B1
deuteranopia · #9CA0AD
tritanopia · #D58795

Color scale — 50 to 950

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

#FAF5F8
#F5EBF0
#EAD2E0
#DEB0CB
#cc87af
#BC6196
#AC4982
#8F3D6D
#733157
#542641
#341829
Base = 400Lightest = 50 · #FAF5F8Darkest = 950 · #341829
:root {
  --brand-50: #FAF5F8;
  --brand-100: #F5EBF0;
  --brand-200: #EAD2E0;
  --brand-300: #DEB0CB;
  --brand-400: #cc87af;
  --brand-500: #BC6196;
  --brand-600: #AC4982;
  --brand-700: #8F3D6D;
  --brand-800: #733157;
  --brand-900: #542641;
  --brand-950: #341829;
  --brand: #cc87af;
  --brand-ink: #000000;
}

Colors that work with #cc87af

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#FAF4F8
Tinted page background
Border#E7C6D9
Hairlines and dividers
Muted text#9B4B79
Captions on the surface
Accent#389448
Second voice, not a rival
Dark variant#5A2644
Hover, pressed, headers
Light variant#F7EDF3
Selected rows, tints
Dark surface#24141D
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 #cc87af

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

Works well for
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • White text placed on it
  • 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#87CCA4
Analogous left#C787CC
Analogous right#CC878D
Split-complement 1#8DCC87
Split-complement 2#87CCC7
Triadic 1#AFCC87
Triadic 2#87AFCC
Tetradic#CCC787

RGB percentages

Red80.0%
Green52.9%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta33.8%
Yellow14.2%
Key (black)20.0%

Color previews

#cc87af text on a black background

contrast 7.65:1

Card sample

#cc87af text on a white background

contrast 2.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cc87af

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.

#cc87af 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
SurfacesBadgesHighlightsEmpty states
Print note

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

#cc87af, answered

What color is #cc87af?

#cc87af is a light soft magenta / pink, closest to Pale Violet Red (ΔE2000 8.5). It sits at 325° on the hue wheel with 40% saturation and 67% lightness, which reads as warm.

What is the RGB value of #cc87af?

rgb(204, 135, 175) — 204 red, 135 green and 175 blue out of 255, or 80% / 52.9% / 68.6% by channel.

Is #cc87af a light or a dark color?

It is a mid-tone. Relative luminance is 0.3326 and perceived brightness is 64%, so black text on it reaches 7.65:1.

Should I use black or white text on #cc87af?

Black. It scores 7.65:1 against #cc87af, versus 2.74:1 for white — AAA at any size.

What is the complementary color of #cc87af?

#87CCA4 sits directly opposite on the wheel. Softer options are the split-complements #8DCC87 and #87CCC7, which give the same contrast with far less vibration.

What colors go well with #cc87af?

For interface work: #FAF4F8 as the surface, #E7C6D9 for borders, #9B4B79 for secondary text, #389448 as an accent and #5A2644 for hover and pressed states. For a palette, the analogous pair #C787CC and #CC878D stays calm, while #87CCA4 is the loudest partner.

What is #cc87af in CMYK for printing?

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

Is #cc87af warm or cool?

Warm — it scores 36 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CC8796; nudged cooler, #CE85CA.

Work with #cc87af in the Color Lab