#D51ADB Color Information

Hex color code: #D51ADB

The hex color #D51ADB is a vivid magenta with RGB values of (213, 26, 219) and HSL of (298°, 79%, 48%). It is commonly used in modern UI design.

Try:
Color NameMagenta
HEX
#D51ADB
RGB
213, 26, 219
HSL
298°, 79%, 48%
CMYK
3%, 88%, 0%, 14%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D51ADB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

213, 26, 219

Red: 213 / Green: 26 / Blue: 219

HSL

298°, 79%, 48%

Hue: 298° / Saturation: 79% / Lightness: 48%

CMYK

3%, 88%, 0%, 14%

Cyan: 3% / Magenta: 88% / Yellow: 0% / Key: 14%

What color is #D51ADB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D51ADB to RGB:

rgb(213, 26, 219)HEX to RGB Converter →

HEX to HSL

Convert #D51ADB to HSL:

hsl(298, 79%, 48%)RGB to HSL Converter →

HEX to CMYK

Convert #D51ADB to CMYK:

cmyk(3%, 88%, 0%, 14%)Color Converter →

Color Meaning and Usage

#D51ADB is a vivid magenta color with RGB values of 213, 26, 219 and HSL of 298°, 79%, 48%. This magenta-red hue evokes romance and playfulness, making it suitable for commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D51ADB is #20DB1A, creating high-contrast pairings. For softer combinations, try analogous colors like #741ADB.

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

Contrast with #D51ADB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D51ADB?

#D51ADB is a vivid magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D51ADB?

#D51ADB in RGB is (213, 26, 219) - 213 red, 26 green, and 219 blue.

How to use #D51ADB in CSS?

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

What colors go well with #D51ADB?

#20DB1A (complementary), #741ADB (analogous), and #921297 (lighter shade) work well with #D51ADB.