#D9268E Color Information

Hex color code: #D9268E

The hex color #D9268E is a subtle magenta with RGB values of (217, 38, 142) and HSL of (325°, 70%, 50%). It is often used for branding and logos.

Try:
Color NameViolet Red
HEX
#D9268E
RGB
217, 38, 142
HSL
325°, 70%, 50%
CMYK
0%, 82%, 35%, 15%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #D9268E; color: #000000; }

Badge

New Feature
.badge { background-color: #D9268E; color: #000000; }

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 #D9268E; background-color: #D9268E15; }

Alert / Toast

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

Link / Accent

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

a { color: #D9268E; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

217, 38, 142

Red: 217 / Green: 38 / Blue: 142

HSL

325°, 70%, 50%

Hue: 325° / Saturation: 70% / Lightness: 50%

CMYK

0%, 82%, 35%, 15%

Cyan: 0% / Magenta: 82% / Yellow: 35% / Key: 15%

What color is #D9268E?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D9268E to RGB:

rgb(217, 38, 142)HEX to RGB Converter →

HEX to HSL

Convert #D9268E to HSL:

hsl(325, 70%, 50%)RGB to HSL Converter →

HEX to CMYK

Convert #D9268E to CMYK:

cmyk(0%, 82%, 35%, 15%)Color Converter →

Color Meaning and Usage

#D9268E is a subtle magenta color with RGB values of 217, 38, 142 and HSL of 325°, 70%, 50%. This magenta-red hue evokes romance and playfulness, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D9268E is #26D971, creating high-contrast pairings. For softer combinations, try analogous colors like #CA26D9.

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

Contrast with #D9268E

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D9268E?

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

What is the RGB value of #D9268E?

#D9268E in RGB is (217, 38, 142) - 217 red, 38 green, and 142 blue.

How to use #D9268E in CSS?

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

What colors go well with #D9268E?

#26D971 (complementary), #CA26D9 (analogous), and #981B64 (lighter shade) work well with #D9268E.