#D9307C Color Information

Hex color code: #D9307C

#D9307C is a warm magenta color. In RGB it is (217, 48, 124), and in HSL it is (333°, 69%, 52%). It is commonly used in modern UI design.

Try:
Color NameViolet Red
HEX
#D9307C
RGB
217, 48, 124
HSL
333°, 69%, 52%
CMYK
0%, 78%, 43%, 15%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #D9307C; 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 #D9307C; background-color: #D9307C15; }

Alert / Toast

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

Link / Accent

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

a { color: #D9307C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

217, 48, 124

Red: 217 / Green: 48 / Blue: 124

HSL

333°, 69%, 52%

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

CMYK

0%, 78%, 43%, 15%

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

What color is #D9307C?

#D9307C is a red-orange hue associated with warmth and passion.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D9307C to RGB:

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

HEX to HSL

Convert #D9307C to HSL:

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

HEX to CMYK

Convert #D9307C to CMYK:

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

Color Meaning and Usage

A fiery magenta tone, #D9307C has RGB (217, 48, 124) and HSL (333°, 69%, 52%). Known for evoking warmth and passion, this red-orange hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D9307C is #30D98D, creating high-contrast pairings. For softer combinations, try analogous colors like #D930D1.

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

Contrast with #D9307C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D9307C?

#D9307C is a fiery magenta color - a red-orange hue that evokes warmth and passion.

What is the RGB value of #D9307C?

#D9307C in RGB is (217, 48, 124) - 217 red, 48 green, and 124 blue.

How to use #D9307C in CSS?

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

What colors go well with #D9307C?

#30D98D (complementary), #D930D1 (analogous), and #9F1D58 (lighter shade) work well with #D9307C.