#786873 Color Information

Hex color code: #786873

A neutral magenta shade, #786873 appears as (120, 104, 115) in RGB and (319°, 7%, 44%) in HSL. It is commonly used in modern UI design.

Try:
Color NameGray
HEX
#786873
RGB
120, 104, 115
HSL
319°, 7%, 44%
CMYK
0%, 13%, 4%, 53%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #786873; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #786873; color: #FFFFFF; }

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 #786873; background-color: #78687315; }

Alert / Toast

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

Link / Accent

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

a { color: #786873; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

120, 104, 115

Red: 120 / Green: 104 / Blue: 115

HSL

319°, 7%, 44%

Hue: 319° / Saturation: 7% / Lightness: 44%

CMYK

0%, 13%, 4%, 53%

Cyan: 0% / Magenta: 13% / Yellow: 4% / Key: 53%

What color is #786873?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #786873 to RGB:

rgb(120, 104, 115)HEX to RGB Converter →

HEX to HSL

Convert #786873 to HSL:

hsl(319, 7%, 44%)RGB to HSL Converter →

HEX to CMYK

Convert #786873 to CMYK:

cmyk(0%, 13%, 4%, 53%)Color Converter →

Color Meaning and Usage

#786873 is a neutral magenta color with RGB values of 120, 104, 115 and HSL of 319°, 7%, 44%. This desaturated neutral evokes balance and subtlety, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #786873 is #68786D, creating high-contrast pairings. For softer combinations, try analogous colors like #756878.

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

Contrast with #786873

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

Contrast Ratio: 4.03:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #786873?

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

What is the RGB value of #786873?

#786873 in RGB is (120, 104, 115) - 120 red, 104 green, and 115 blue.

How to use #786873 in CSS?

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

What colors go well with #786873?

#68786D (complementary), #756878 (analogous), and #4F454C (lighter shade) work well with #786873.