#D2287A Color Information

Hex color code: #D2287A

A vibrant magenta shade, #D2287A appears as (210, 40, 122) in RGB and (331°, 68%, 49%) in HSL. It is popular in mobile app design.

Try:
Color NameViolet Red
HEX
#D2287A
RGB
210, 40, 122
HSL
331°, 68%, 49%
CMYK
0%, 81%, 42%, 18%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D2287A; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

210, 40, 122

Red: 210 / Green: 40 / Blue: 122

HSL

331°, 68%, 49%

Hue: 331° / Saturation: 68% / Lightness: 49%

CMYK

0%, 81%, 42%, 18%

Cyan: 0% / Magenta: 81% / Yellow: 42% / Key: 18%

What color is #D2287A?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D2287A to RGB:

rgb(210, 40, 122)HEX to RGB Converter →

HEX to HSL

Convert #D2287A to HSL:

hsl(331, 68%, 49%)RGB to HSL Converter →

HEX to CMYK

Convert #D2287A to CMYK:

cmyk(0%, 81%, 42%, 18%)Color Converter →

Color Meaning and Usage

A warm magenta tone, #D2287A has RGB (210, 40, 122) and HSL (331°, 68%, 49%). Known for evoking warmth and passion, this red-orange hue is popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D2287A is #28D280, creating high-contrast pairings. For softer combinations, try analogous colors like #D228CF.

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

Contrast with #D2287A

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D2287A?

#D2287A is a warm magenta color - a red-orange hue that evokes warmth and passion.

What is the RGB value of #D2287A?

#D2287A in RGB is (210, 40, 122) - 210 red, 40 green, and 122 blue.

How to use #D2287A in CSS?

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

What colors go well with #D2287A?

#28D280 (complementary), #D228CF (analogous), and #921C55 (lighter shade) work well with #D2287A.