#D4258E Color Information

Hex color code: #D4258E

A muted magenta shade, #D4258E appears as (212, 37, 142) in RGB and (324°, 70%, 49%) in HSL. It is typically applied in digital products.

Try:
Color NameViolet Red
HEX
#D4258E
RGB
212, 37, 142
HSL
324°, 70%, 49%
CMYK
0%, 83%, 33%, 17%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D4258E; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

212, 37, 142

Red: 212 / Green: 37 / Blue: 142

HSL

324°, 70%, 49%

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

CMYK

0%, 83%, 33%, 17%

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

What color is #D4258E?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D4258E to RGB:

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

HEX to HSL

Convert #D4258E to HSL:

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

HEX to CMYK

Convert #D4258E to CMYK:

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

Color Meaning and Usage

#D4258E is a subtle magenta color with RGB values of 212, 37, 142 and HSL of 324°, 70%, 49%. This magenta-red hue evokes romance and playfulness, making it suitable for a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D4258E is #25D46B, creating high-contrast pairings. For softer combinations, try analogous colors like #C325D4.

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

Contrast with #D4258E

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

Contrast Ratio: 4.45:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D4258E?

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

What is the RGB value of #D4258E?

#D4258E in RGB is (212, 37, 142) - 212 red, 37 green, and 142 blue.

How to use #D4258E in CSS?

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

What colors go well with #D4258E?

#25D46B (complementary), #C325D4 (analogous), and #931A63 (lighter shade) work well with #D4258E.