#7F155F Color Information

Hex color code: #7F155F

A eye-catching magenta shade, #7F155F appears as (127, 21, 95) in RGB and (318°, 72%, 29%) in HSL. It is popular in mobile app design.

Try:
Color NamePurple
HEX
#7F155F
RGB
127, 21, 95
HSL
318°, 72%, 29%
CMYK
0%, 83%, 25%, 50%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #7F155F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #7F155F in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

127, 21, 95

Red: 127 / Green: 21 / Blue: 95

HSL

318°, 72%, 29%

Hue: 318° / Saturation: 72% / Lightness: 29%

CMYK

0%, 83%, 25%, 50%

Cyan: 0% / Magenta: 83% / Yellow: 25% / Key: 50%

What color is #7F155F?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #7F155F to RGB:

rgb(127, 21, 95)HEX to RGB Converter →

HEX to HSL

Convert #7F155F to HSL:

hsl(318, 72%, 29%)RGB to HSL Converter →

HEX to CMYK

Convert #7F155F to CMYK:

cmyk(0%, 83%, 25%, 50%)Color Converter →

Color Meaning and Usage

A eye-catching magenta tone, #7F155F has RGB (127, 21, 95) and HSL (318°, 72%, 29%). Known for evoking romance and playfulness, this magenta-red hue is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #7F155F is #157F35, creating high-contrast pairings. For softer combinations, try analogous colors like #6A157F.

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

Contrast with #7F155F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #7F155F?

#7F155F is a eye-catching magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #7F155F?

#7F155F in RGB is (127, 21, 95) - 127 red, 21 green, and 95 blue.

How to use #7F155F in CSS?

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

What colors go well with #7F155F?

#157F35 (complementary), #6A157F (analogous), and #3D0A2E (lighter shade) work well with #7F155F.