Skip to content

#ba7f49

a balanced, vivid orange · warm · closest name: peru

RGB
186, 127, 73
HSL
29°, 45%, 51%
CMYK
0, 32, 61, 27
Luminance
0.2610

Every format

HEX#ba7f49
RGBrgb(186, 127, 73)
HSLhsl(29, 45%, 51%)
CMYKcmyk(0%, 32%, 61%, 27%)
LABlab(58.1 17.2 38.1)
LCHlch(58.1 41.9 65.7)
OKLCHoklch(0.645 0.102 61.9)

Copy-ready code

/* CSS */
color: #ba7f49;
background-color: #ba7f49;
/* Tailwind (arbitrary) */
class="text-[#ba7f49] bg-[#ba7f49]"
/* SCSS */
$brand: #ba7f49;
/* SwiftUI */
Color(red: 0.729, green: 0.498, blue: 0.286)
/* Android */
Color.parseColor("#ba7f49")

Accessibility — WCAG contrast

Aa
#ba7f49 on white: 3.38:1
AA ✗ fail · AA-large · AAA
Aa
#ba7f49 on black: 6.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green49.8%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta31.7%
Yellow60.8%
Key (black)27.1%

Color previews

#ba7f49 text on a black background

contrast 6.22:1

Card sample

#ba7f49 text on a white background

contrast 3.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #ba7f49;
Background color
Panel with #ba7f49 background
background-color: #ba7f49;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #ba7f49;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(186, 127, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 127, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ba7f49;
background: linear-gradient(135deg, #ba7f49, #AABA49);

Monochromatic scale

Palettes built from #ba7f49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ba7f49 in the Color Lab