Skip to content

#cf87b2

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

RGB
207, 135, 178
HSL
324°, 43%, 67%
CMYK
0, 35, 14, 19
Luminance
0.3381

At a glance

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

Hex
#cf87b2
Hue
324°
magenta / pink
Saturation
43%
soft
Lightness
67%
light
Brightness
81%
HSV value
Perceived
65%
weighted brightness
Luminance
0.3381
WCAG relative
Temperature
Warm
37/100 cool
Color family
Magenta / pink
Tone
Soft
Best ink
Black
7.76:1
Closest name
Pale Violet Red
ΔE2000 8.6
Where it sits
Hue324° of 360°
Saturation43%
Lightness67%
Temperature
Warm ← → Cool37% 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#cf87b2
RGBrgb(207, 135, 178)
HSLhsl(324, 43%, 67%)
CMYKcmyk(0%, 35%, 14%, 19%)
LABlab(64.8 33.8 -11.2)
LCHlch(64.8 35.6 341.7)
OKLCHoklch(0.710 0.104 343.5)
Decimal13600690
Display P3color(display-p3 0.812 0.529 0.698)

Copy-ready code

/* CSS */
color: #cf87b2;
background-color: #cf87b2;
/* Tailwind (arbitrary) */
class="text-[#cf87b2] bg-[#cf87b2]"
/* SCSS */
$brand: #cf87b2;
/* SwiftUI */
Color(red: 0.812, green: 0.529, blue: 0.698)
/* Android */
Color.parseColor("#cf87b2")
/* Flutter */
Color(0xFFCF87B2)
/* Python / OpenCV (BGR) */
(178, 135, 207)

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 #cf87b2 · 7.76:1
Use #000000AAA at every size.
Aa
White text · 2.71:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.76:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #cf87b2 as text scores 2.71:1 on white and 7.76:1 on black.

Accessibility — WCAG contrast

Aa
#cf87b2 on white: 2.71:1
AA ✗ fail · AA-large · AAA
Aa
#cf87b2 on black: 7.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8B96B4
deuteranopia · #9DA1B0
tritanopia · #D88796

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cf87b2 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
#F5EBF1
#EAD1E0
#DFAFCC
#cf87b2
#BF5F98
#AF4685
#923A6E
#752F58
#552542
#351729
Base = 400Lightest = 50 · #FAF5F8Darkest = 950 · #351729
:root {
  --brand-50: #FAF5F8;
  --brand-100: #F5EBF1;
  --brand-200: #EAD1E0;
  --brand-300: #DFAFCC;
  --brand-400: #cf87b2;
  --brand-500: #BF5F98;
  --brand-600: #AF4685;
  --brand-700: #923A6E;
  --brand-800: #752F58;
  --brand-900: #552542;
  --brand-950: #351729;
  --brand: #cf87b2;
  --brand-ink: #000000;
}

Colors that work with #cf87b2

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#E8C5DA
Hairlines and dividers
Muted text#9B4B7B
Captions on the surface
Accent#379545
Second voice, not a rival
Dark variant#5B2445
Hover, pressed, headers
Light variant#F8EDF3
Selected rows, tints
Dark surface#24141E
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 #cf87b2

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#87CFA4
Analogous left#C887CF
Analogous right#CF878E
Split-complement 1#8ECF87
Split-complement 2#87CFC8
Triadic 1#B2CF87
Triadic 2#87B2CF
Tetradic#CFC887

RGB percentages

Red81.2%
Green52.9%
Blue69.8%

CMYK percentages

Cyan0.0%
Magenta34.8%
Yellow14.0%
Key (black)18.8%

Color previews

#cf87b2 text on a black background

contrast 7.76:1

Card sample

#cf87b2 text on a white background

contrast 2.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf87b2

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.

#cf87b2 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.

#cf87b2, answered

What color is #cf87b2?

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

What is the RGB value of #cf87b2?

rgb(207, 135, 178) — 207 red, 135 green and 178 blue out of 255, or 81.2% / 52.9% / 69.8% by channel.

Is #cf87b2 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3381 and perceived brightness is 65%, so black text on it reaches 7.76:1.

Should I use black or white text on #cf87b2?

Black. It scores 7.76:1 against #cf87b2, versus 2.71:1 for white — AAA at any size.

What is the complementary color of #cf87b2?

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

What colors go well with #cf87b2?

For interface work: #FAF4F8 as the surface, #E8C5DA for borders, #9B4B7B for secondary text, #379545 as an accent and #5B2445 for hover and pressed states. For a palette, the analogous pair #C887CF and #CF878E stays calm, while #87CFA4 is the loudest partner.

What is #cf87b2 in CMYK for printing?

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

Is #cf87b2 warm or cool?

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

Work with #cf87b2 in the Color Lab