#987D7F Color Information

Hex color code: #987D7F

#987D7F is a neutral red color. In RGB it is (152, 125, 127), and in HSL it is (356°, 12%, 54%). It is commonly used in modern UI design.

Try:
Color NameGray
HEX
#987D7F
RGB
152, 125, 127
HSL
356°, 12%, 54%
CMYK
0%, 18%, 16%, 40%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #987D7F; 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 #987D7F; background-color: #987D7F15; }

Alert / Toast

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

Link / Accent

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

a { color: #987D7F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #987D7F in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

152, 125, 127

Red: 152 / Green: 125 / Blue: 127

HSL

356°, 12%, 54%

Hue: 356° / Saturation: 12% / Lightness: 54%

CMYK

0%, 18%, 16%, 40%

Cyan: 0% / Magenta: 18% / Yellow: 16% / Key: 40%

What color is #987D7F?

#987D7F is a desaturated neutral associated with balance and subtlety.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #987D7F to RGB:

rgb(152, 125, 127)HEX to RGB Converter →

HEX to HSL

Convert #987D7F to HSL:

hsl(356, 12%, 54%)RGB to HSL Converter →

HEX to CMYK

Convert #987D7F to CMYK:

cmyk(0%, 18%, 16%, 40%)Color Converter →

Color Meaning and Usage

A subtle red tone, #987D7F has RGB (152, 125, 127) and HSL (356°, 12%, 54%). Known for evoking balance and subtlety, this desaturated neutral is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #987D7F is #7C9896, creating high-contrast pairings. For softer combinations, try analogous colors like #987C8C.

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

Contrast with #987D7F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #987D7F?

#987D7F is a subtle red color - a desaturated neutral that evokes balance and subtlety.

What is the RGB value of #987D7F?

#987D7F in RGB is (152, 125, 127) - 152 red, 125 green, and 127 blue.

How to use #987D7F in CSS?

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

What colors go well with #987D7F?

#7C9896 (complementary), #987C8C (analogous), and #6F5859 (lighter shade) work well with #987D7F.