#BA7940 Color Information

Hex color code: #BA7940

#BA7940 is a soft orange color. In RGB it is (186, 121, 64), and in HSL it is (28°, 49%, 49%). It is widely used in graphic design.

Try:
Color NamePeru
HEX
#BA7940
RGB
186, 121, 64
HSL
28°, 49%, 49%
CMYK
0%, 35%, 66%, 27%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #BA7940; color: #000000; }

Badge

New Feature
.badge { background-color: #BA7940; color: #000000; }

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 #BA7940; background-color: #BA794015; }

Alert / Toast

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

Link / Accent

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

a { color: #BA7940; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

186, 121, 64

Red: 186 / Green: 121 / Blue: 64

HSL

28°, 49%, 49%

Hue: 28° / Saturation: 49% / Lightness: 49%

CMYK

0%, 35%, 66%, 27%

Cyan: 0% / Magenta: 35% / Yellow: 66% / Key: 27%

What color is #BA7940?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #BA7940 to RGB:

rgb(186, 121, 64)HEX to RGB Converter →

HEX to HSL

Convert #BA7940 to HSL:

hsl(28, 49%, 49%)RGB to HSL Converter →

HEX to CMYK

Convert #BA7940 to CMYK:

cmyk(0%, 35%, 66%, 27%)Color Converter →

Color Meaning and Usage

#BA7940 is a soft orange color with RGB values of 186, 121, 64 and HSL of 28°, 49%, 49%. This red-orange hue evokes warmth and passion, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #BA7940 is #4081BA, creating high-contrast pairings. For softer combinations, try analogous colors like #BA4044.

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

Contrast with #BA7940

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

Contrast Ratio: 5.90:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #BA7940?

#BA7940 is a soft orange color - a red-orange hue that evokes warmth and passion.

What is the RGB value of #BA7940?

#BA7940 in RGB is (186, 121, 64) - 186 red, 121 green, and 64 blue.

How to use #BA7940 in CSS?

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

What colors go well with #BA7940?

#4081BA (complementary), #BA4044 (analogous), and #81542C (lighter shade) work well with #BA7940.