#DB24B7 Color Information

Hex color code: #DB24B7

The hex color #DB24B7 is a vivid magenta with RGB values of (219, 36, 183) and HSL of (312°, 72%, 50%). It is commonly used in modern UI design.

Try:
Color NameViolet Red
HEX
#DB24B7
RGB
219, 36, 183
HSL
312°, 72%, 50%
CMYK
0%, 84%, 16%, 14%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #DB24B7; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

219, 36, 183

Red: 219 / Green: 36 / Blue: 183

HSL

312°, 72%, 50%

Hue: 312° / Saturation: 72% / Lightness: 50%

CMYK

0%, 84%, 16%, 14%

Cyan: 0% / Magenta: 84% / Yellow: 16% / Key: 14%

What color is #DB24B7?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #DB24B7 to RGB:

rgb(219, 36, 183)HEX to RGB Converter →

HEX to HSL

Convert #DB24B7 to HSL:

hsl(312, 72%, 50%)RGB to HSL Converter →

HEX to CMYK

Convert #DB24B7 to CMYK:

cmyk(0%, 84%, 16%, 14%)Color Converter →

Color Meaning and Usage

A eye-catching magenta tone, #DB24B7 has RGB (219, 36, 183) and HSL (312°, 72%, 50%). Known for evoking romance and playfulness, this magenta-red hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #DB24B7 is #24DB48, creating high-contrast pairings. For softer combinations, try analogous colors like #A424DB.

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

Contrast with #DB24B7

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #DB24B7?

#DB24B7 is a eye-catching magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #DB24B7?

#DB24B7 in RGB is (219, 36, 183) - 219 red, 36 green, and 183 blue.

How to use #DB24B7 in CSS?

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

What colors go well with #DB24B7?

#24DB48 (complementary), #A424DB (analogous), and #9A1980 (lighter shade) work well with #DB24B7.