#871262 Color Information

Hex color code: #871262

The hex color #871262 is a dynamic magenta with RGB values of (135, 18, 98) and HSL of (319°, 76%, 30%). It is typically applied in digital products.

Try:
Color NamePurple
HEX
#871262
RGB
135, 18, 98
HSL
319°, 76%, 30%
CMYK
0%, 87%, 27%, 47%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #871262; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

135, 18, 98

Red: 135 / Green: 18 / Blue: 98

HSL

319°, 76%, 30%

Hue: 319° / Saturation: 76% / Lightness: 30%

CMYK

0%, 87%, 27%, 47%

Cyan: 0% / Magenta: 87% / Yellow: 27% / Key: 47%

What color is #871262?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #871262 to RGB:

rgb(135, 18, 98)HEX to RGB Converter →

HEX to HSL

Convert #871262 to HSL:

hsl(319, 76%, 30%)RGB to HSL Converter →

HEX to CMYK

Convert #871262 to CMYK:

cmyk(0%, 87%, 27%, 47%)Color Converter →

Color Meaning and Usage

A striking magenta tone, #871262 has RGB (135, 18, 98) and HSL (319°, 76%, 30%). Known for evoking romance and playfulness, this magenta-red hue is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #871262 is #128737, creating high-contrast pairings. For softer combinations, try analogous colors like #711287.

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

Contrast with #871262

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #871262?

#871262 is a striking magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #871262?

#871262 in RGB is (135, 18, 98) - 135 red, 18 green, and 98 blue.

How to use #871262 in CSS?

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

What colors go well with #871262?

#128737 (complementary), #711287 (analogous), and #430931 (lighter shade) work well with #871262.