Skip to content

#af845c

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

RGB
175, 132, 92
HSL
29°, 34%, 52%
CMYK
0, 25, 47, 31
Luminance
0.2639

At a glance

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

Hex
#af845c
Hue
29°
orange
Saturation
34%
soft
Lightness
52%
balanced
Brightness
69%
HSV value
Perceived
56%
weighted brightness
Luminance
0.2639
WCAG relative
Temperature
Warm
2/100 cool
Color family
Orange
Tone
Soft
Best ink
Black
6.28:1
Closest name
Peru
ΔE2000 8.4
Where it sits
Hue29° of 360°
Saturation34%
Lightness52%
Temperature
Warm ← → Cool2% 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#af845c
RGBrgb(175, 132, 92)
HSLhsl(29, 34%, 52%)
CMYKcmyk(0%, 25%, 47%, 31%)
LABlab(58.4 11.4 27.9)
LCHlch(58.4 30.2 67.8)
OKLCHoklch(0.646 0.076 63.7)
Decimal11502684
Display P3color(display-p3 0.686 0.518 0.361)

Copy-ready code

/* CSS */
color: #af845c;
background-color: #af845c;
/* Tailwind (arbitrary) */
class="text-[#af845c] bg-[#af845c]"
/* SCSS */
$brand: #af845c;
/* SwiftUI */
Color(red: 0.686, green: 0.518, blue: 0.361)
/* Android */
Color.parseColor("#af845c")
/* Flutter */
Color(0xFFAF845C)
/* Python / OpenCV (BGR) */
(92, 132, 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 #af845c · 6.28:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.35:1
AA fail · AA large pass · AAA fail
Aa
Black text · 6.28:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #af845c as text scores 3.35:1 on white and 6.28:1 on black.

Accessibility — WCAG contrast

Aa
#af845c on white: 3.35:1
AA ✗ fail · AA-large · AAA
Aa
#af845c on black: 6.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #928759
deuteranopia · #9C905D
tritanopia · #BC7B7A

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #af845c 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.

#F9F7F5
#F4F0EC
#E8DDD4
#DAC6B4
#C8AA8E
#af845c
#A47951
#896543
#6E5136
#503C2A
#32261A
Base = 500Lightest = 50 · #F9F7F5Darkest = 950 · #32261A
:root {
  --brand-50: #F9F7F5;
  --brand-100: #F4F0EC;
  --brand-200: #E8DDD4;
  --brand-300: #DAC6B4;
  --brand-400: #C8AA8E;
  --brand-500: #af845c;
  --brand-600: #A47951;
  --brand-700: #896543;
  --brand-800: #6E5136;
  --brand-900: #503C2A;
  --brand-950: #32261A;
  --brand: #af845c;
  --brand-ink: #000000;
}

Colors that work with #af845c

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#E4D6C8
Hairlines and dividers
Muted text#9A714C
Captions on the surface
Accent#3F7B8D
Second voice, not a rival
Dark variant#563F2A
Hover, pressed, headers
Light variant#F7F2EE
Selected rows, tints
Dark surface#241C14
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 #af845c

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#5C87AF
Analogous left#AF5C5E
Analogous right#AFAE5C
Split-complement 1#5CAFAE
Split-complement 2#5C5EAF
Triadic 1#5CAF84
Triadic 2#845CAF
Tetradic#5EAF5C

RGB percentages

Red68.6%
Green51.8%
Blue36.1%

CMYK percentages

Cyan0.0%
Magenta24.6%
Yellow47.4%
Key (black)31.4%

Color previews

#af845c text on a black background

contrast 6.28:1

Card sample

#af845c text on a white background

contrast 3.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af845c

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.

#af845c 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.

#af845c, answered

What color is #af845c?

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

What is the RGB value of #af845c?

rgb(175, 132, 92) — 175 red, 132 green and 92 blue out of 255, or 68.6% / 51.8% / 36.1% by channel.

Is #af845c a light or a dark color?

It is a mid-tone. Relative luminance is 0.2639 and perceived brightness is 56%, so black text on it reaches 6.28:1.

Should I use black or white text on #af845c?

Black. It scores 6.28:1 against #af845c, versus 3.35:1 for white — AA at any size.

What is the complementary color of #af845c?

#5C87AF sits directly opposite on the wheel. Softer options are the split-complements #5CAFAE and #5C5EAF, which give the same contrast with far less vibration.

What colors go well with #af845c?

For interface work: #FAF7F5 as the surface, #E4D6C8 for borders, #9A714C for secondary text, #3F7B8D as an accent and #563F2A for hover and pressed states. For a palette, the analogous pair #AF5C5E and #AFAE5C stays calm, while #5C87AF is the loudest partner.

What is #af845c in CMYK for printing?

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

Is #af845c warm or cool?

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

Work with #af845c in the Color Lab