#C987B2 Color Information

Hex color code: #C987B2

#C987B2 is a pastel magenta color. In RGB it is (201, 135, 178), and in HSL it is (321°, 38%, 66%). It is commonly used in modern UI design.

Try:
Color NameRosy Brown
HEX
#C987B2
RGB
201, 135, 178
HSL
321°, 38%, 66%
CMYK
0%, 33%, 11%, 21%

Shades

CSS Usage
color: #C987B2;
background-color: #C987B2;
border-color: #C987B2;
box-shadow: 0 0 10px #C987B2;
border: 2px solid #C987B2;
Tailwind Usage
bg-[#C987B2]
text-[#C987B2]
border-[#C987B2]
shadow-[0_0_10px_C987B2]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #C987B2, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #C987B2; color: #000000; }

Badge

New Feature
.badge { background-color: #C987B2; color: #000000; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #C987B2; background-color: #C987B215; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #C987B220; border-left: 4px solid #C987B2; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #C987B2; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #C987B2 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

201, 135, 178

Red: 201 / Green: 135 / Blue: 178

HSL

321°, 38%, 66%

Hue: 321° / Saturation: 38% / Lightness: 66%

CMYK

0%, 33%, 11%, 21%

Cyan: 0% / Magenta: 33% / Yellow: 11% / Key: 21%

What color is #C987B2?

#C987B2 is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #C987B2 to RGB:

rgb(201, 135, 178)HEX to RGB Converter →

HEX to HSL

Convert #C987B2 to HSL:

hsl(321, 38%, 66%)RGB to HSL Converter →

HEX to CMYK

Convert #C987B2 to CMYK:

cmyk(0%, 33%, 11%, 21%)Color Converter →

Color Meaning and Usage

A soft magenta tone, #C987B2 has RGB (201, 135, 178) and HSL (321°, 38%, 66%). Known for evoking romance and playfulness, this magenta-red hue is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #C987B2 is #87C99E, creating high-contrast pairings. For softer combinations, try analogous colors like #BF87C9.

Use #C987B2 in CSS: color: #C987B2 or background-color: #C987B2. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #C987B2

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 7.59:1
WCAG AA: Pass
WCAG AAA: Pass

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #C987B2?

#C987B2 is a soft magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #C987B2?

#C987B2 in RGB is (201, 135, 178) - 201 red, 135 green, and 178 blue.

How to use #C987B2 in CSS?

Use #C987B2 directly in your CSS properties like color or background-color.

What colors go well with #C987B2?

#87C99E (complementary), #BF87C9 (analogous), and #B25390 (lighter shade) work well with #C987B2.