Skip to content

#af8b6f

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

RGB
175, 139, 111
HSL
26°, 29%, 56%
CMYK
0, 21, 37, 31
Luminance
0.2873

At a glance

Every number on this page in one read: what #af8b6f is made of, how bright it looks, and which way it leans.

Hex
#af8b6f
Hue
26°
orange
Saturation
29%
soft
Lightness
56%
balanced
Brightness
69%
HSV value
Perceived
58%
weighted brightness
Luminance
0.2873
WCAG relative
Temperature
Warm
11/100 cool
Color family
Orange
Tone
Soft
Best ink
Black
6.75:1
Closest name
Peru
ΔE2000 11.3
Where it sits
Hue26° of 360°
Saturation29%
Lightness56%
Temperature
Warm ← → Cool11% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#af8b6f
RGBrgb(175, 139, 111)
HSLhsl(26, 29%, 56%)
CMYKcmyk(0%, 21%, 37%, 31%)
LABlab(60.5 9.7 20.2)
LCHlch(60.5 22.4 64.4)
OKLCHoklch(0.663 0.059 59.4)
Decimal11504495
Display P3color(display-p3 0.686 0.545 0.435)

Copy-ready code

/* CSS */
color: #af8b6f;
background-color: #af8b6f;
/* Tailwind (arbitrary) */
class="text-[#af8b6f] bg-[#af8b6f]"
/* SCSS */
$brand: #af8b6f;
/* SwiftUI */
Color(red: 0.686, green: 0.545, blue: 0.435)
/* Android */
Color.parseColor("#af8b6f")
/* Flutter */
Color(0xFFAF8B6F)
/* Python / OpenCV (BGR) */
(111, 139, 175)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #af8b6f · 6.75:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.11:1
AA fail · AA large pass · AAA fail
Aa
Black text · 6.75:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #af8b6f as text scores 3.11:1 on white and 6.75:1 on black.

Accessibility — WCAG contrast

Aa
#af8b6f on white: 3.11:1
AA ✗ fail · AA-large · AAA
Aa
#af8b6f on black: 6.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #968D6D
deuteranopia · #9E956F
tritanopia · #BA8483

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #af8b6f is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F9F7F6
#F3EFEC
#E6DDD6
#D7C5B7
#C3A893
#af8b6f
#9D7657
#836249
#694F3A
#4D3B2D
#30251C
Base = 500Lightest = 50 · #F9F7F6Darkest = 950 · #30251C
:root {
  --brand-50: #F9F7F6;
  --brand-100: #F3EFEC;
  --brand-200: #E6DDD6;
  --brand-300: #D7C5B7;
  --brand-400: #C3A893;
  --brand-500: #af8b6f;
  --brand-600: #9D7657;
  --brand-700: #836249;
  --brand-800: #694F3A;
  --brand-900: #4D3B2D;
  --brand-950: #30251C;
  --brand: #af8b6f;
  --brand-ink: #000000;
}

Colors that work with #af8b6f

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#FAF7F5
Tinted page background
Border#E2D5CB
Hairlines and dividers
Muted text#946F52
Captions on the surface
Accent#457B87
Second voice, not a rival
Dark variant#523D2E
Hover, pressed, headers
Light variant#F6F2EF
Selected rows, tints
Dark surface#241B14
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #af8b6f

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#6F93AF
Analogous left#AF6F73
Analogous right#AFAB6F
Split-complement 1#6FAFAB
Split-complement 2#6F73AF
Triadic 1#6FAF8B
Triadic 2#8B6FAF
Tetradic#73AF6F

RGB percentages

Red68.6%
Green54.5%
Blue43.5%

CMYK percentages

Cyan0.0%
Magenta20.6%
Yellow36.6%
Key (black)31.4%

Color previews

#af8b6f text on a black background

contrast 6.75:1

Card sample

#af8b6f text on a white background

contrast 3.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af8b6f

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#af8b6f in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
E-commerceFood deliveryLogisticsCreator tools
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#af8b6f, answered

What color is #af8b6f?

#af8b6f is a balanced soft orange, closest to Peru (ΔE2000 11.3). It sits at 26° on the hue wheel with 29% saturation and 56% lightness, which reads as warm.

What is the RGB value of #af8b6f?

rgb(175, 139, 111) — 175 red, 139 green and 111 blue out of 255, or 68.6% / 54.5% / 43.5% by channel.

Is #af8b6f a light or a dark color?

It is a mid-tone. Relative luminance is 0.2873 and perceived brightness is 58%, so black text on it reaches 6.75:1.

Should I use black or white text on #af8b6f?

Black. It scores 6.75:1 against #af8b6f, versus 3.11:1 for white — AA at any size.

What is the complementary color of #af8b6f?

#6F93AF sits directly opposite on the wheel. Softer options are the split-complements #6FAFAB and #6F73AF, which give the same contrast with far less vibration.

What colors go well with #af8b6f?

For interface work: #FAF7F5 as the surface, #E2D5CB for borders, #946F52 for secondary text, #457B87 as an accent and #523D2E for hover and pressed states. For a palette, the analogous pair #AF6F73 and #AFAB6F stays calm, while #6F93AF is the loudest partner.

What is #af8b6f in CMYK for printing?

cmyk(0%, 21%, 37%, 31%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #af8b6f warm or cool?

Warm — it scores 11 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B8987F; nudged cooler, #B1726D.

Work with #af8b6f in the Color Lab