#98166C Color Information

Hex color code: #98166C

A bold magenta shade, #98166C appears as (152, 22, 108) in RGB and (320°, 75%, 34%) in HSL. It is often used for branding and logos.

Try:
Color NamePurple
HEX
#98166C
RGB
152, 22, 108
HSL
320°, 75%, 34%
CMYK
0%, 86%, 29%, 40%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #98166C; 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 #98166C; background-color: #98166C15; }

Alert / Toast

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

Link / Accent

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

a { color: #98166C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #98166C in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

152, 22, 108

Red: 152 / Green: 22 / Blue: 108

HSL

320°, 75%, 34%

Hue: 320° / Saturation: 75% / Lightness: 34%

CMYK

0%, 86%, 29%, 40%

Cyan: 0% / Magenta: 86% / Yellow: 29% / Key: 40%

What color is #98166C?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #98166C to RGB:

rgb(152, 22, 108)HEX to RGB Converter →

HEX to HSL

Convert #98166C to HSL:

hsl(320, 75%, 34%)RGB to HSL Converter →

HEX to CMYK

Convert #98166C to CMYK:

cmyk(0%, 86%, 29%, 40%)Color Converter →

Color Meaning and Usage

A vivid magenta tone, #98166C has RGB (152, 22, 108) and HSL (320°, 75%, 34%). Known for evoking romance and playfulness, this magenta-red hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #98166C is #169841, creating high-contrast pairings. For softer combinations, try analogous colors like #821698.

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

Contrast with #98166C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #98166C?

#98166C is a vivid magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #98166C?

#98166C in RGB is (152, 22, 108) - 152 red, 22 green, and 108 blue.

How to use #98166C in CSS?

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

What colors go well with #98166C?

#169841 (complementary), #821698 (analogous), and #550C3D (lighter shade) work well with #98166C.