#D7285F Color Information

Hex color code: #D7285F

#D7285F is a warm magenta color. In RGB it is (215, 40, 95), and in HSL it is (341°, 69%, 50%). It is commonly used in modern UI design.

Try:
Color NameCrimson
HEX
#D7285F
RGB
215, 40, 95
HSL
341°, 69%, 50%
CMYK
0%, 81%, 56%, 16%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D7285F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

215, 40, 95

Red: 215 / Green: 40 / Blue: 95

HSL

341°, 69%, 50%

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

CMYK

0%, 81%, 56%, 16%

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

What color is #D7285F?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D7285F to RGB:

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

HEX to HSL

Convert #D7285F to HSL:

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

HEX to CMYK

Convert #D7285F to CMYK:

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

Color Meaning and Usage

A vibrant magenta tone, #D7285F has RGB (215, 40, 95) and HSL (341°, 69%, 50%). Known for evoking warmth and passion, this red-orange hue is typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D7285F is #28D7A0, creating high-contrast pairings. For softer combinations, try analogous colors like #D728B7.

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

Contrast with #D7285F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D7285F?

#D7285F is a vibrant magenta color - a red-orange hue that evokes warmth and passion.

What is the RGB value of #D7285F?

#D7285F in RGB is (215, 40, 95) - 215 red, 40 green, and 95 blue.

How to use #D7285F in CSS?

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

What colors go well with #D7285F?

#28D7A0 (complementary), #D728B7 (analogous), and #971C43 (lighter shade) work well with #D7285F.