#D4259D Color Information

Hex color code: #D4259D

#D4259D is a neutral magenta color. In RGB it is (212, 37, 157), and in HSL it is (319°, 70%, 49%). It is frequently seen in web interfaces.

Try:
Color NameViolet Red
HEX
#D4259D
RGB
212, 37, 157
HSL
319°, 70%, 49%
CMYK
0%, 83%, 26%, 17%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D4259D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

212, 37, 157

Red: 212 / Green: 37 / Blue: 157

HSL

319°, 70%, 49%

Hue: 319° / Saturation: 70% / Lightness: 49%

CMYK

0%, 83%, 26%, 17%

Cyan: 0% / Magenta: 83% / Yellow: 26% / Key: 17%

What color is #D4259D?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D4259D to RGB:

rgb(212, 37, 157)HEX to RGB Converter →

HEX to HSL

Convert #D4259D to HSL:

hsl(319, 70%, 49%)RGB to HSL Converter →

HEX to CMYK

Convert #D4259D to CMYK:

cmyk(0%, 83%, 26%, 17%)Color Converter →

Color Meaning and Usage

#D4259D is a subtle magenta color with RGB values of 212, 37, 157 and HSL of 319°, 70%, 49%. This magenta-red hue evokes romance and playfulness, making it suitable for well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D4259D is #25D45D, creating high-contrast pairings. For softer combinations, try analogous colors like #B425D4.

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

Contrast with #D4259D

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D4259D?

#D4259D is a subtle magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D4259D?

#D4259D in RGB is (212, 37, 157) - 212 red, 37 green, and 157 blue.

How to use #D4259D in CSS?

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

What colors go well with #D4259D?

#25D45D (complementary), #B425D4 (analogous), and #931A6D (lighter shade) work well with #D4259D.