#D02F72 Color Information

Hex color code: #D02F72

The hex color #D02F72 is a vibrant magenta with RGB values of (208, 47, 114) and HSL of (335°, 63%, 50%). It is often used for branding and logos.

Try:
Color NameMedium Violet Red
HEX
#D02F72
RGB
208, 47, 114
HSL
335°, 63%, 50%
CMYK
0%, 77%, 45%, 18%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D02F72; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

208, 47, 114

Red: 208 / Green: 47 / Blue: 114

HSL

335°, 63%, 50%

Hue: 335° / Saturation: 63% / Lightness: 50%

CMYK

0%, 77%, 45%, 18%

Cyan: 0% / Magenta: 77% / Yellow: 45% / Key: 18%

What color is #D02F72?

#D02F72 is a red-orange hue associated with warmth and passion.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D02F72 to RGB:

rgb(208, 47, 114)HEX to RGB Converter →

HEX to HSL

Convert #D02F72 to HSL:

hsl(335, 63%, 50%)RGB to HSL Converter →

HEX to CMYK

Convert #D02F72 to CMYK:

cmyk(0%, 77%, 45%, 18%)Color Converter →

Color Meaning and Usage

A invigorating magenta tone, #D02F72 has RGB (208, 47, 114) and HSL (335°, 63%, 50%). Known for evoking warmth and passion, this red-orange hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D02F72 is #2FD08D, creating high-contrast pairings. For softer combinations, try analogous colors like #D02FC2.

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

Contrast with #D02F72

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D02F72?

#D02F72 is a invigorating magenta color - a red-orange hue that evokes warmth and passion.

What is the RGB value of #D02F72?

#D02F72 in RGB is (208, 47, 114) - 208 red, 47 green, and 114 blue.

How to use #D02F72 in CSS?

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

What colors go well with #D02F72?

#2FD08D (complementary), #D02FC2 (analogous), and #912150 (lighter shade) work well with #D02F72.