Skip to content

#ab7f49

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

RGB
171, 127, 73
HSL
33°, 40%, 48%
CMYK
0, 26, 57, 33
Luminance
0.2432

Every format

HEX#ab7f49
RGBrgb(171, 127, 73)
HSLhsl(33, 40%, 48%)
CMYKcmyk(0%, 26%, 57%, 33%)
LABlab(56.4 10.8 35.7)
LCHlch(56.4 37.3 73.2)
OKLCHoklch(0.628 0.089 70.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ab7f49 on white: 3.58:1
AA ✗ fail · AA-large · AAA
Aa
#ab7f49 on black: 5.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.1%
Green49.8%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta25.7%
Yellow57.3%
Key (black)32.9%

Color previews

#ab7f49 text on a black background

contrast 5.86:1

Card sample

#ab7f49 text on a white background

contrast 3.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ab7f49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ab7f49 in the Color Lab