#8D628C Color Information

Hex color code: #8D628C

The hex color #8D628C is a neutral magenta with RGB values of (141, 98, 140) and HSL of (301°, 18%, 47%). It is commonly used in modern UI design.

Try:
Color NameGray
HEX
#8D628C
RGB
141, 98, 140
HSL
301°, 18%, 47%
CMYK
0%, 30%, 1%, 45%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #8D628C; 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 #8D628C; background-color: #8D628C15; }

Alert / Toast

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

Link / Accent

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

a { color: #8D628C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #8D628C in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

141, 98, 140

Red: 141 / Green: 98 / Blue: 140

HSL

301°, 18%, 47%

Hue: 301° / Saturation: 18% / Lightness: 47%

CMYK

0%, 30%, 1%, 45%

Cyan: 0% / Magenta: 30% / Yellow: 1% / Key: 45%

What color is #8D628C?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #8D628C to RGB:

rgb(141, 98, 140)HEX to RGB Converter →

HEX to HSL

Convert #8D628C to HSL:

hsl(301, 18%, 47%)RGB to HSL Converter →

HEX to CMYK

Convert #8D628C to CMYK:

cmyk(0%, 30%, 1%, 45%)Color Converter →

Color Meaning and Usage

A balanced magenta tone, #8D628C has RGB (141, 98, 140) and HSL (301°, 18%, 47%). Known for evoking romance and playfulness, this magenta-red hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #8D628C is #628D63, creating high-contrast pairings. For softer combinations, try analogous colors like #79628D.

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

Contrast with #8D628C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #8D628C?

#8D628C is a balanced magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #8D628C?

#8D628C in RGB is (141, 98, 140) - 141 red, 98 green, and 140 blue.

How to use #8D628C in CSS?

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

What colors go well with #8D628C?

#628D63 (complementary), #79628D (analogous), and #604360 (lighter shade) work well with #8D628C.