#781297 Color Information

Hex color code: #781297

A bold magenta shade, #781297 appears as (120, 18, 151) in RGB and (286°, 79%, 33%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameDark Magenta
HEX
#781297
RGB
120, 18, 151
HSL
286°, 79%, 33%
CMYK
21%, 88%, 0%, 41%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #781297; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

120, 18, 151

Red: 120 / Green: 18 / Blue: 151

HSL

286°, 79%, 33%

Hue: 286° / Saturation: 79% / Lightness: 33%

CMYK

21%, 88%, 0%, 41%

Cyan: 21% / Magenta: 88% / Yellow: 0% / Key: 41%

What color is #781297?

#781297 is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #781297 to RGB:

rgb(120, 18, 151)HEX to RGB Converter →

HEX to HSL

Convert #781297 to HSL:

hsl(286, 79%, 33%)RGB to HSL Converter →

HEX to CMYK

Convert #781297 to CMYK:

cmyk(21%, 88%, 0%, 41%)Color Converter →

Color Meaning and Usage

A eye-catching magenta tone, #781297 has RGB (120, 18, 151) and HSL (286°, 79%, 33%). Known for evoking romance and playfulness, this magenta-red hue is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #781297 is #319712, creating high-contrast pairings. For softer combinations, try analogous colors like #351297.

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

Contrast with #781297

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #781297?

#781297 is a eye-catching magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #781297?

#781297 in RGB is (120, 18, 151) - 120 red, 18 green, and 151 blue.

How to use #781297 in CSS?

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

What colors go well with #781297?

#319712 (complementary), #351297 (analogous), and #410A52 (lighter shade) work well with #781297.