#786A7C Color Information

Hex color code: #786A7C

#786A7C is a muted magenta color. In RGB it is (120, 106, 124), and in HSL it is (287°, 8%, 45%). It is widely used in graphic design.

Try:
Color NameGray
HEX
#786A7C
RGB
120, 106, 124
HSL
287°, 8%, 45%
CMYK
3%, 15%, 0%, 51%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #786A7C; 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 #786A7C; background-color: #786A7C15; }

Alert / Toast

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

Link / Accent

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

a { color: #786A7C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #786A7C in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

120, 106, 124

Red: 120 / Green: 106 / Blue: 124

HSL

287°, 8%, 45%

Hue: 287° / Saturation: 8% / Lightness: 45%

CMYK

3%, 15%, 0%, 51%

Cyan: 3% / Magenta: 15% / Yellow: 0% / Key: 51%

What color is #786A7C?

#786A7C is a desaturated neutral associated with balance and subtlety.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #786A7C to RGB:

rgb(120, 106, 124)HEX to RGB Converter →

HEX to HSL

Convert #786A7C to HSL:

hsl(287, 8%, 45%)RGB to HSL Converter →

HEX to CMYK

Convert #786A7C to CMYK:

cmyk(3%, 15%, 0%, 51%)Color Converter →

Color Meaning and Usage

A muted magenta tone, #786A7C has RGB (120, 106, 124) and HSL (287°, 8%, 45%). Known for evoking balance and subtlety, this desaturated neutral is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #786A7C is #6E7C6A, creating high-contrast pairings. For softer combinations, try analogous colors like #6F6A7C.

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

Contrast with #786A7C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #786A7C?

#786A7C is a muted magenta color - a desaturated neutral that evokes balance and subtlety.

What is the RGB value of #786A7C?

#786A7C in RGB is (120, 106, 124) - 120 red, 106 green, and 124 blue.

How to use #786A7C in CSS?

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

What colors go well with #786A7C?

#6E7C6A (complementary), #6F6A7C (analogous), and #504653 (lighter shade) work well with #786A7C.