#81187C Color Information

Hex color code: #81187C

#81187C is a understated magenta color. In RGB it is (129, 24, 124), and in HSL it is (303°, 69%, 30%). It is popular in mobile app design.

Try:
Color NamePurple
HEX
#81187C
RGB
129, 24, 124
HSL
303°, 69%, 30%
CMYK
0%, 81%, 4%, 49%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #81187C; 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 #81187C; background-color: #81187C15; }

Alert / Toast

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

Link / Accent

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

a { color: #81187C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #81187C in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

129, 24, 124

Red: 129 / Green: 24 / Blue: 124

HSL

303°, 69%, 30%

Hue: 303° / Saturation: 69% / Lightness: 30%

CMYK

0%, 81%, 4%, 49%

Cyan: 0% / Magenta: 81% / Yellow: 4% / Key: 49%

What color is #81187C?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #81187C to RGB:

rgb(129, 24, 124)HEX to RGB Converter →

HEX to HSL

Convert #81187C to HSL:

hsl(303, 69%, 30%)RGB to HSL Converter →

HEX to CMYK

Convert #81187C to CMYK:

cmyk(0%, 81%, 4%, 49%)Color Converter →

Color Meaning and Usage

A neutral magenta tone, #81187C has RGB (129, 24, 124) and HSL (303°, 69%, 30%). Known for evoking romance and playfulness, this magenta-red hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #81187C is #18811D, creating high-contrast pairings. For softer combinations, try analogous colors like #521881.

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

Contrast with #81187C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #81187C?

#81187C is a neutral magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #81187C?

#81187C in RGB is (129, 24, 124) - 129 red, 24 green, and 124 blue.

How to use #81187C in CSS?

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

What colors go well with #81187C?

#18811D (complementary), #521881 (analogous), and #410C3E (lighter shade) work well with #81187C.