#DB18E2 Color Information

Hex color code: #DB18E2

The hex color #DB18E2 is a bold magenta with RGB values of (219, 24, 226) and HSL of (298°, 81%, 49%). It is frequently seen in web interfaces.

Try:
Color NameMagenta
HEX
#DB18E2
RGB
219, 24, 226
HSL
298°, 81%, 49%
CMYK
3%, 89%, 0%, 11%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #DB18E2; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

219, 24, 226

Red: 219 / Green: 24 / Blue: 226

HSL

298°, 81%, 49%

Hue: 298° / Saturation: 81% / Lightness: 49%

CMYK

3%, 89%, 0%, 11%

Cyan: 3% / Magenta: 89% / Yellow: 0% / Key: 11%

What color is #DB18E2?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #DB18E2 to RGB:

rgb(219, 24, 226)HEX to RGB Converter →

HEX to HSL

Convert #DB18E2 to HSL:

hsl(298, 81%, 49%)RGB to HSL Converter →

HEX to CMYK

Convert #DB18E2 to CMYK:

cmyk(3%, 89%, 0%, 11%)Color Converter →

Color Meaning and Usage

#DB18E2 is a striking magenta color with RGB values of 219, 24, 226 and HSL of 298°, 81%, 49%. This highly saturated hue evokes energy and excitement, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #DB18E2 is #1EE218, creating high-contrast pairings. For softer combinations, try analogous colors like #7618E2.

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

Contrast with #DB18E2

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #DB18E2?

#DB18E2 is a striking magenta color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #DB18E2?

#DB18E2 in RGB is (219, 24, 226) - 219 red, 24 green, and 226 blue.

How to use #DB18E2 in CSS?

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

What colors go well with #DB18E2?

#1EE218 (complementary), #7618E2 (analogous), and #98109D (lighter shade) work well with #DB18E2.