#987781 Color Information

Hex color code: #987781

The hex color #987781 is a balanced magenta with RGB values of (152, 119, 129) and HSL of (342°, 14%, 53%). It is often used for branding and logos.

Try:
Color NameGray
HEX
#987781
RGB
152, 119, 129
HSL
342°, 14%, 53%
CMYK
0%, 22%, 15%, 40%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #987781; 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 #987781; background-color: #98778115; }

Alert / Toast

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

Link / Accent

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

a { color: #987781; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

152, 119, 129

Red: 152 / Green: 119 / Blue: 129

HSL

342°, 14%, 53%

Hue: 342° / Saturation: 14% / Lightness: 53%

CMYK

0%, 22%, 15%, 40%

Cyan: 0% / Magenta: 22% / Yellow: 15% / Key: 40%

What color is #987781?

#987781 is a desaturated neutral associated with balance and subtlety.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #987781 to RGB:

rgb(152, 119, 129)HEX to RGB Converter →

HEX to HSL

Convert #987781 to HSL:

hsl(342, 14%, 53%)RGB to HSL Converter →

HEX to CMYK

Convert #987781 to CMYK:

cmyk(0%, 22%, 15%, 40%)Color Converter →

Color Meaning and Usage

A neutral magenta tone, #987781 has RGB (152, 119, 129) and HSL (342°, 14%, 53%). Known for evoking balance and subtlety, this desaturated neutral is frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #987781 is #76988E, creating high-contrast pairings. For softer combinations, try analogous colors like #987691.

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

Contrast with #987781

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

Contrast Ratio: 5.29:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #987781?

#987781 is a neutral magenta color - a desaturated neutral that evokes balance and subtlety.

What is the RGB value of #987781?

#987781 in RGB is (152, 119, 129) - 152 red, 119 green, and 129 blue.

How to use #987781 in CSS?

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

What colors go well with #987781?

#76988E (complementary), #987691 (analogous), and #6E535B (lighter shade) work well with #987781.