#D8226E Color Information

Hex color code: #D8226E

A vivid magenta shade, #D8226E appears as (216, 34, 110) in RGB and (335°, 73%, 49%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameMedium Violet Red
HEX
#D8226E
RGB
216, 34, 110
HSL
335°, 73%, 49%
CMYK
0%, 84%, 49%, 15%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D8226E; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

216, 34, 110

Red: 216 / Green: 34 / Blue: 110

HSL

335°, 73%, 49%

Hue: 335° / Saturation: 73% / Lightness: 49%

CMYK

0%, 84%, 49%, 15%

Cyan: 0% / Magenta: 84% / Yellow: 49% / Key: 15%

What color is #D8226E?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D8226E to RGB:

rgb(216, 34, 110)HEX to RGB Converter →

HEX to HSL

Convert #D8226E to HSL:

hsl(335, 73%, 49%)RGB to HSL Converter →

HEX to CMYK

Convert #D8226E to CMYK:

cmyk(0%, 84%, 49%, 15%)Color Converter →

Color Meaning and Usage

#D8226E is a dynamic magenta color with RGB values of 216, 34, 110 and HSL of 335°, 73%, 49%. This red-orange hue evokes warmth and passion, making it suitable for typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D8226E is #22D88C, creating high-contrast pairings. For softer combinations, try analogous colors like #D822C9.

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

Contrast with #D8226E

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D8226E?

#D8226E is a dynamic magenta color - a red-orange hue that evokes warmth and passion.

What is the RGB value of #D8226E?

#D8226E in RGB is (216, 34, 110) - 216 red, 34 green, and 110 blue.

How to use #D8226E in CSS?

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

What colors go well with #D8226E?

#22D88C (complementary), #D822C9 (analogous), and #96174C (lighter shade) work well with #D8226E.