#797278 Color Information

Hex color code: #797278

The hex color #797278 is a neutral magenta with RGB values of (121, 114, 120) and HSL of (309°, 3%, 46%). It is commonly used in modern UI design.

Try:
Color NameGray
HEX
#797278
RGB
121, 114, 120
HSL
309°, 3%, 46%
CMYK
0%, 6%, 1%, 53%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #797278; 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 #797278; background-color: #79727815; }

Alert / Toast

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

Link / Accent

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

a { color: #797278; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

121, 114, 120

Red: 121 / Green: 114 / Blue: 120

HSL

309°, 3%, 46%

Hue: 309° / Saturation: 3% / Lightness: 46%

CMYK

0%, 6%, 1%, 53%

Cyan: 0% / Magenta: 6% / Yellow: 1% / Key: 53%

What color is #797278?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #797278 to RGB:

rgb(121, 114, 120)HEX to RGB Converter →

HEX to HSL

Convert #797278 to HSL:

hsl(309, 3%, 46%)RGB to HSL Converter →

HEX to CMYK

Convert #797278 to CMYK:

cmyk(0%, 6%, 1%, 53%)Color Converter →

Color Meaning and Usage

A balanced magenta tone, #797278 has RGB (121, 114, 120) and HSL (309°, 3%, 46%). Known for evoking balance and subtlety, this desaturated neutral is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #797278 is #727973, creating high-contrast pairings. For softer combinations, try analogous colors like #767279.

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

Contrast with #797278

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #797278?

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

What is the RGB value of #797278?

#797278 in RGB is (121, 114, 120) - 121 red, 114 green, and 120 blue.

How to use #797278 in CSS?

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

What colors go well with #797278?

#727973 (complementary), #767279 (analogous), and #514D51 (lighter shade) work well with #797278.