#98168B Color Information

Hex color code: #98168B

The hex color #98168B is a striking magenta with RGB values of (152, 22, 139) and HSL of (306°, 75%, 34%). It is popular in mobile app design.

Try:
Color NameDark Magenta
HEX
#98168B
RGB
152, 22, 139
HSL
306°, 75%, 34%
CMYK
0%, 86%, 9%, 40%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #98168B; 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 #98168B; background-color: #98168B15; }

Alert / Toast

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

Link / Accent

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

a { color: #98168B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #98168B in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

152, 22, 139

Red: 152 / Green: 22 / Blue: 139

HSL

306°, 75%, 34%

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

CMYK

0%, 86%, 9%, 40%

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

What color is #98168B?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #98168B to RGB:

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

HEX to HSL

Convert #98168B to HSL:

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

HEX to CMYK

Convert #98168B to CMYK:

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

Color Meaning and Usage

A eye-catching magenta tone, #98168B has RGB (152, 22, 139) and HSL (306°, 75%, 34%). 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 #98168B is #169823, creating high-contrast pairings. For softer combinations, try analogous colors like #641698.

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

Contrast with #98168B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #98168B?

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

What is the RGB value of #98168B?

#98168B in RGB is (152, 22, 139) - 152 red, 22 green, and 139 blue.

How to use #98168B in CSS?

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

What colors go well with #98168B?

#169823 (complementary), #641698 (analogous), and #550C4E (lighter shade) work well with #98168B.