#786B7C Color Information

Hex color code: #786B7C

A balanced magenta shade, #786B7C appears as (120, 107, 124) in RGB and (286°, 7%, 45%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameGray
HEX
#786B7C
RGB
120, 107, 124
HSL
286°, 7%, 45%
CMYK
3%, 14%, 0%, 51%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #786B7C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

120, 107, 124

Red: 120 / Green: 107 / Blue: 124

HSL

286°, 7%, 45%

Hue: 286° / Saturation: 7% / Lightness: 45%

CMYK

3%, 14%, 0%, 51%

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

What color is #786B7C?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #786B7C to RGB:

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

HEX to HSL

Convert #786B7C to HSL:

hsl(286, 7%, 45%)RGB to HSL Converter →

HEX to CMYK

Convert #786B7C to CMYK:

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

Color Meaning and Usage

#786B7C is a muted magenta color with RGB values of 120, 107, 124 and HSL of 286°, 7%, 45%. This desaturated neutral evokes balance and subtlety, making it suitable for popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #786B7C is #6E7B6B, creating high-contrast pairings. For softer combinations, try analogous colors like #6F6B7B.

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

Contrast with #786B7C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #786B7C?

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

What is the RGB value of #786B7C?

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

How to use #786B7C in CSS?

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

What colors go well with #786B7C?

#6E7B6B (complementary), #6F6B7B (analogous), and #4F4752 (lighter shade) work well with #786B7C.