#D7288B Color Information

Hex color code: #D7288B

The hex color #D7288B is a neutral magenta with RGB values of (215, 40, 139) and HSL of (326°, 69%, 50%). It is commonly used in modern UI design.

Try:
Color NameViolet Red
HEX
#D7288B
RGB
215, 40, 139
HSL
326°, 69%, 50%
CMYK
0%, 81%, 35%, 16%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D7288B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

215, 40, 139

Red: 215 / Green: 40 / Blue: 139

HSL

326°, 69%, 50%

Hue: 326° / Saturation: 69% / Lightness: 50%

CMYK

0%, 81%, 35%, 16%

Cyan: 0% / Magenta: 81% / Yellow: 35% / Key: 16%

What color is #D7288B?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D7288B to RGB:

rgb(215, 40, 139)HEX to RGB Converter →

HEX to HSL

Convert #D7288B to HSL:

hsl(326, 69%, 50%)RGB to HSL Converter →

HEX to CMYK

Convert #D7288B to CMYK:

cmyk(0%, 81%, 35%, 16%)Color Converter →

Color Meaning and Usage

#D7288B is a muted magenta color with RGB values of 215, 40, 139 and HSL of 326°, 69%, 50%. This magenta-red hue evokes romance and playfulness, making it suitable for popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D7288B is #28D774, creating high-contrast pairings. For softer combinations, try analogous colors like #CC28D7.

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

Contrast with #D7288B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D7288B?

#D7288B is a muted magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D7288B?

#D7288B in RGB is (215, 40, 139) - 215 red, 40 green, and 139 blue.

How to use #D7288B in CSS?

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

What colors go well with #D7288B?

#28D774 (complementary), #CC28D7 (analogous), and #971C61 (lighter shade) work well with #D7288B.