#D9308D Color Information

Hex color code: #D9308D

The hex color #D9308D is a neutral magenta with RGB values of (217, 48, 141) and HSL of (327°, 69%, 52%). It is commonly used in modern UI design.

Try:
Color NameViolet Red
HEX
#D9308D
RGB
217, 48, 141
HSL
327°, 69%, 52%
CMYK
0%, 78%, 35%, 15%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #D9308D; color: #000000; }

Badge

New Feature
.badge { background-color: #D9308D; color: #000000; }

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 #D9308D; background-color: #D9308D15; }

Alert / Toast

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

Link / Accent

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

a { color: #D9308D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

217, 48, 141

Red: 217 / Green: 48 / Blue: 141

HSL

327°, 69%, 52%

Hue: 327° / Saturation: 69% / Lightness: 52%

CMYK

0%, 78%, 35%, 15%

Cyan: 0% / Magenta: 78% / Yellow: 35% / Key: 15%

What color is #D9308D?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D9308D to RGB:

rgb(217, 48, 141)HEX to RGB Converter →

HEX to HSL

Convert #D9308D to HSL:

hsl(327, 69%, 52%)RGB to HSL Converter →

HEX to CMYK

Convert #D9308D to CMYK:

cmyk(0%, 78%, 35%, 15%)Color Converter →

Color Meaning and Usage

A muted magenta tone, #D9308D has RGB (217, 48, 141) and HSL (327°, 69%, 52%). Known for evoking romance and playfulness, this magenta-red hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D9308D is #30D97C, creating high-contrast pairings. For softer combinations, try analogous colors like #D130D9.

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

Contrast with #D9308D

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

Contrast Ratio: 4.76:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D9308D?

#D9308D is a muted magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D9308D?

#D9308D in RGB is (217, 48, 141) - 217 red, 48 green, and 141 blue.

How to use #D9308D in CSS?

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

What colors go well with #D9308D?

#30D97C (complementary), #D130D9 (analogous), and #9F1D65 (lighter shade) work well with #D9308D.