#97878C Color Information

Hex color code: #97878C

#97878C is a neutral magenta color. In RGB it is (151, 135, 140), and in HSL it is (341°, 7%, 56%). It is commonly used in modern UI design.

Try:
Color NameGray
HEX
#97878C
RGB
151, 135, 140
HSL
341°, 7%, 56%
CMYK
0%, 11%, 7%, 41%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #97878C; 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 #97878C; background-color: #97878C15; }

Alert / Toast

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

Link / Accent

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

a { color: #97878C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #97878C in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

151, 135, 140

Red: 151 / Green: 135 / Blue: 140

HSL

341°, 7%, 56%

Hue: 341° / Saturation: 7% / Lightness: 56%

CMYK

0%, 11%, 7%, 41%

Cyan: 0% / Magenta: 11% / Yellow: 7% / Key: 41%

What color is #97878C?

#97878C is a desaturated neutral associated with balance and subtlety.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #97878C to RGB:

rgb(151, 135, 140)HEX to RGB Converter →

HEX to HSL

Convert #97878C to HSL:

hsl(341, 7%, 56%)RGB to HSL Converter →

HEX to CMYK

Convert #97878C to CMYK:

cmyk(0%, 11%, 7%, 41%)Color Converter →

Color Meaning and Usage

#97878C is a balanced magenta color with RGB values of 151, 135, 140 and HSL of 341°, 7%, 56%. This desaturated neutral evokes balance and subtlety, making it suitable for well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #97878C is #879792, creating high-contrast pairings. For softer combinations, try analogous colors like #978794.

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

Contrast with #97878C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #97878C?

#97878C is a balanced magenta color - a desaturated neutral that evokes balance and subtlety.

What is the RGB value of #97878C?

#97878C in RGB is (151, 135, 140) - 151 red, 135 green, and 140 blue.

How to use #97878C in CSS?

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

What colors go well with #97878C?

#879792 (complementary), #978794 (analogous), and #706166 (lighter shade) work well with #97878C.