#9F198F Color Information

Hex color code: #9F198F

The hex color #9F198F is a vivid magenta with RGB values of (159, 25, 143) and HSL of (307°, 73%, 36%). It is commonly used in modern UI design.

Try:
Color NameDark Magenta
HEX
#9F198F
RGB
159, 25, 143
HSL
307°, 73%, 36%
CMYK
0%, 84%, 10%, 38%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #9F198F; 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 #9F198F; background-color: #9F198F15; }

Alert / Toast

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

Link / Accent

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

a { color: #9F198F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #9F198F in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

159, 25, 143

Red: 159 / Green: 25 / Blue: 143

HSL

307°, 73%, 36%

Hue: 307° / Saturation: 73% / Lightness: 36%

CMYK

0%, 84%, 10%, 38%

Cyan: 0% / Magenta: 84% / Yellow: 10% / Key: 38%

What color is #9F198F?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #9F198F to RGB:

rgb(159, 25, 143)HEX to RGB Converter →

HEX to HSL

Convert #9F198F to HSL:

hsl(307, 73%, 36%)RGB to HSL Converter →

HEX to CMYK

Convert #9F198F to CMYK:

cmyk(0%, 84%, 10%, 38%)Color Converter →

Color Meaning and Usage

#9F198F is a dynamic magenta color with RGB values of 159, 25, 143 and HSL of 307°, 73%, 36%. This magenta-red hue evokes romance and playfulness, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #9F198F is #199F28, creating high-contrast pairings. For softer combinations, try analogous colors like #6B199F.

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

Contrast with #9F198F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #9F198F?

#9F198F is a dynamic magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #9F198F?

#9F198F in RGB is (159, 25, 143) - 159 red, 25 green, and 143 blue.

How to use #9F198F in CSS?

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

What colors go well with #9F198F?

#199F28 (complementary), #6B199F (analogous), and #5D0E54 (lighter shade) work well with #9F198F.