#872287 Color Information

Hex color code: #872287

The hex color #872287 is a understated magenta with RGB values of (135, 34, 135) and HSL of (300°, 60%, 33%). It is widely used in graphic design.

Try:
Color NameDark Magenta
HEX
#872287
RGB
135, 34, 135
HSL
300°, 60%, 33%
CMYK
0%, 75%, 0%, 47%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #872287; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

135, 34, 135

Red: 135 / Green: 34 / Blue: 135

HSL

300°, 60%, 33%

Hue: 300° / Saturation: 60% / Lightness: 33%

CMYK

0%, 75%, 0%, 47%

Cyan: 0% / Magenta: 75% / Yellow: 0% / Key: 47%

What color is #872287?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #872287 to RGB:

rgb(135, 34, 135)HEX to RGB Converter →

HEX to HSL

Convert #872287 to HSL:

hsl(300, 60%, 33%)RGB to HSL Converter →

HEX to CMYK

Convert #872287 to CMYK:

cmyk(0%, 75%, 0%, 47%)Color Converter →

Color Meaning and Usage

#872287 is a subtle magenta color with RGB values of 135, 34, 135 and HSL of 300°, 60%, 33%. This magenta-red hue evokes romance and playfulness, making it suitable for a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #872287 is #228722, creating high-contrast pairings. For softer combinations, try analogous colors like #542287.

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

Contrast with #872287

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #872287?

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

What is the RGB value of #872287?

#872287 in RGB is (135, 34, 135) - 135 red, 34 green, and 135 blue.

How to use #872287 in CSS?

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

What colors go well with #872287?

#228722 (complementary), #542287 (analogous), and #491249 (lighter shade) work well with #872287.