#D31280 Color Information

Hex color code: #D31280

A bold magenta shade, #D31280 appears as (211, 18, 128) in RGB and (326°, 84%, 45%) in HSL. It is often used for branding and logos.

Try:
Color NameMedium Violet Red
HEX
#D31280
RGB
211, 18, 128
HSL
326°, 84%, 45%
CMYK
0%, 91%, 39%, 17%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D31280; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

211, 18, 128

Red: 211 / Green: 18 / Blue: 128

HSL

326°, 84%, 45%

Hue: 326° / Saturation: 84% / Lightness: 45%

CMYK

0%, 91%, 39%, 17%

Cyan: 0% / Magenta: 91% / Yellow: 39% / Key: 17%

What color is #D31280?

#D31280 is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D31280 to RGB:

rgb(211, 18, 128)HEX to RGB Converter →

HEX to HSL

Convert #D31280 to HSL:

hsl(326, 84%, 45%)RGB to HSL Converter →

HEX to CMYK

Convert #D31280 to CMYK:

cmyk(0%, 91%, 39%, 17%)Color Converter →

Color Meaning and Usage

A bold magenta tone, #D31280 has RGB (211, 18, 128) and HSL (326°, 84%, 45%). Known for evoking energy and excitement, this highly saturated hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D31280 is #12D366, creating high-contrast pairings. For softer combinations, try analogous colors like #C612D3.

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

Contrast with #D31280

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D31280?

#D31280 is a bold magenta color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #D31280?

#D31280 in RGB is (211, 18, 128) - 211 red, 18 green, and 128 blue.

How to use #D31280 in CSS?

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

What colors go well with #D31280?

#12D366 (complementary), #C612D3 (analogous), and #8D0C55 (lighter shade) work well with #D31280.