#DF31B1 Color Information

Hex color code: #DF31B1

A vivid magenta shade, #DF31B1 appears as (223, 49, 177) in RGB and (316°, 73%, 53%) in HSL. It is commonly used in modern UI design.

Try:
Color NameViolet Red
HEX
#DF31B1
RGB
223, 49, 177
HSL
316°, 73%, 53%
CMYK
0%, 78%, 21%, 13%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #DF31B1; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

223, 49, 177

Red: 223 / Green: 49 / Blue: 177

HSL

316°, 73%, 53%

Hue: 316° / Saturation: 73% / Lightness: 53%

CMYK

0%, 78%, 21%, 13%

Cyan: 0% / Magenta: 78% / Yellow: 21% / Key: 13%

What color is #DF31B1?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #DF31B1 to RGB:

rgb(223, 49, 177)HEX to RGB Converter →

HEX to HSL

Convert #DF31B1 to HSL:

hsl(316, 73%, 53%)RGB to HSL Converter →

HEX to CMYK

Convert #DF31B1 to CMYK:

cmyk(0%, 78%, 21%, 13%)Color Converter →

Color Meaning and Usage

A bold magenta tone, #DF31B1 has RGB (223, 49, 177) and HSL (316°, 73%, 53%). Known for evoking romance and playfulness, this magenta-red hue is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #DF31B1 is #30DF5E, creating high-contrast pairings. For softer combinations, try analogous colors like #B630DF.

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

Contrast with #DF31B1

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #DF31B1?

#DF31B1 is a bold magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #DF31B1?

#DF31B1 in RGB is (223, 49, 177) - 223 red, 49 green, and 177 blue.

How to use #DF31B1 in CSS?

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

What colors go well with #DF31B1?

#30DF5E (complementary), #B630DF (analogous), and #A81A82 (lighter shade) work well with #DF31B1.