#662956 Color Information

Hex color code: #662956

A soft magenta shade, #662956 appears as (102, 41, 86) in RGB and (316°, 43%, 28%) in HSL. It is typically applied in digital products.

Try:
Color NameDark Slate Blue
HEX
#662956
RGB
102, 41, 86
HSL
316°, 43%, 28%
CMYK
0%, 60%, 16%, 60%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #662956; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

102, 41, 86

Red: 102 / Green: 41 / Blue: 86

HSL

316°, 43%, 28%

Hue: 316° / Saturation: 43% / Lightness: 28%

CMYK

0%, 60%, 16%, 60%

Cyan: 0% / Magenta: 60% / Yellow: 16% / Key: 60%

What color is #662956?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #662956 to RGB:

rgb(102, 41, 86)HEX to RGB Converter →

HEX to HSL

Convert #662956 to HSL:

hsl(316, 43%, 28%)RGB to HSL Converter →

HEX to CMYK

Convert #662956 to CMYK:

cmyk(0%, 60%, 16%, 60%)Color Converter →

Color Meaning and Usage

#662956 is a soft magenta color with RGB values of 102, 41, 86 and HSL of 316°, 43%, 28%. This magenta-red hue evokes romance and playfulness, making it suitable for often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #662956 is #296639, creating high-contrast pairings. For softer combinations, try analogous colors like #582966.

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

Contrast with #662956

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #662956?

#662956 is a soft magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #662956?

#662956 in RGB is (102, 41, 86) - 102 red, 41 green, and 86 blue.

How to use #662956 in CSS?

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

What colors go well with #662956?

#296639 (complementary), #582966 (analogous), and #2F1328 (lighter shade) work well with #662956.