#981B4F Color Information

Hex color code: #981B4F

#981B4F is a energetic magenta color. In RGB it is (152, 27, 79), and in HSL it is (335°, 70%, 35%). It is frequently seen in web interfaces.

Try:
Color NameBrown
HEX
#981B4F
RGB
152, 27, 79
HSL
335°, 70%, 35%
CMYK
0%, 82%, 48%, 40%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #981B4F; 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 #981B4F; background-color: #981B4F15; }

Alert / Toast

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

Link / Accent

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

a { color: #981B4F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #981B4F in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

152, 27, 79

Red: 152 / Green: 27 / Blue: 79

HSL

335°, 70%, 35%

Hue: 335° / Saturation: 70% / Lightness: 35%

CMYK

0%, 82%, 48%, 40%

Cyan: 0% / Magenta: 82% / Yellow: 48% / Key: 40%

What color is #981B4F?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #981B4F to RGB:

rgb(152, 27, 79)HEX to RGB Converter →

HEX to HSL

Convert #981B4F to HSL:

hsl(335, 70%, 35%)RGB to HSL Converter →

HEX to CMYK

Convert #981B4F to CMYK:

cmyk(0%, 82%, 48%, 40%)Color Converter →

Color Meaning and Usage

A invigorating magenta tone, #981B4F has RGB (152, 27, 79) and HSL (335°, 70%, 35%). Known for evoking warmth and passion, this red-orange hue is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #981B4F is #1B9864, creating high-contrast pairings. For softer combinations, try analogous colors like #981B8D.

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

Contrast with #981B4F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #981B4F?

#981B4F is a invigorating magenta color - a red-orange hue that evokes warmth and passion.

What is the RGB value of #981B4F?

#981B4F in RGB is (152, 27, 79) - 152 red, 27 green, and 79 blue.

How to use #981B4F in CSS?

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

What colors go well with #981B4F?

#1B9864 (complementary), #981B8D (analogous), and #570F2D (lighter shade) work well with #981B4F.