#D3318A Color Information

Hex color code: #D3318A

A balanced magenta shade, #D3318A appears as (211, 49, 138) in RGB and (327°, 65%, 51%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameViolet Red
HEX
#D3318A
RGB
211, 49, 138
HSL
327°, 65%, 51%
CMYK
0%, 77%, 35%, 17%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D3318A; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

211, 49, 138

Red: 211 / Green: 49 / Blue: 138

HSL

327°, 65%, 51%

Hue: 327° / Saturation: 65% / Lightness: 51%

CMYK

0%, 77%, 35%, 17%

Cyan: 0% / Magenta: 77% / Yellow: 35% / Key: 17%

What color is #D3318A?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D3318A to RGB:

rgb(211, 49, 138)HEX to RGB Converter →

HEX to HSL

Convert #D3318A to HSL:

hsl(327, 65%, 51%)RGB to HSL Converter →

HEX to CMYK

Convert #D3318A to CMYK:

cmyk(0%, 77%, 35%, 17%)Color Converter →

Color Meaning and Usage

A understated magenta tone, #D3318A has RGB (211, 49, 138) and HSL (327°, 65%, 51%). Known for evoking romance and playfulness, this magenta-red hue is popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D3318A is #31D37A, creating high-contrast pairings. For softer combinations, try analogous colors like #CB31D3.

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

Contrast with #D3318A

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D3318A?

#D3318A is a understated magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D3318A?

#D3318A in RGB is (211, 49, 138) - 211 red, 49 green, and 138 blue.

How to use #D3318A in CSS?

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

What colors go well with #D3318A?

#31D37A (complementary), #CB31D3 (analogous), and #972062 (lighter shade) work well with #D3318A.