Skip to content

#af7948

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

RGB
175, 121, 72
HSL
29°, 42%, 48%
CMYK
0, 31, 59, 31
Luminance
0.2326

Every format

HEX#af7948
RGBrgb(175, 121, 72)
HSLhsl(29, 42%, 48%)
CMYKcmyk(0%, 31%, 59%, 31%)
LABlab(55.3 15.8 35.0)
LCHlch(55.3 38.4 65.7)
OKLCHoklch(0.621 0.094 61.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af7948 on white: 3.72:1
AA ✗ fail · AA-large · AAA
Aa
#af7948 on black: 5.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green47.5%
Blue28.2%

CMYK percentages

Cyan0.0%
Magenta30.9%
Yellow58.9%
Key (black)31.4%

Color previews

#af7948 text on a black background

contrast 5.65:1

Card sample

#af7948 text on a white background

contrast 3.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 121, 72, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 121, 72, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af7948;
background: linear-gradient(135deg, #af7948, #A0AF48);

Monochromatic scale

Palettes built from #af7948

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af7948 in the Color Lab