#D7238F Color Information

Hex color code: #D7238F

#D7238F is a vivid magenta color. In RGB it is (215, 35, 143), and in HSL it is (324°, 72%, 49%). It is commonly used in modern UI design.

Try:
Color NameViolet Red
HEX
#D7238F
RGB
215, 35, 143
HSL
324°, 72%, 49%
CMYK
0%, 84%, 33%, 16%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D7238F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

215, 35, 143

Red: 215 / Green: 35 / Blue: 143

HSL

324°, 72%, 49%

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

CMYK

0%, 84%, 33%, 16%

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

What color is #D7238F?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D7238F to RGB:

rgb(215, 35, 143)HEX to RGB Converter →

HEX to HSL

Convert #D7238F to HSL:

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

HEX to CMYK

Convert #D7238F to CMYK:

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

Color Meaning and Usage

#D7238F is a eye-catching magenta color with RGB values of 215, 35, 143 and HSL of 324°, 72%, 49%. This magenta-red hue evokes romance and playfulness, making it suitable for frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D7238F is #23D76B, creating high-contrast pairings. For softer combinations, try analogous colors like #C523D7.

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

Contrast with #D7238F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D7238F?

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

What is the RGB value of #D7238F?

#D7238F in RGB is (215, 35, 143) - 215 red, 35 green, and 143 blue.

How to use #D7238F in CSS?

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

What colors go well with #D7238F?

#23D76B (complementary), #C523D7 (analogous), and #951863 (lighter shade) work well with #D7238F.