Skip to content

#af7c4d

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

RGB
175, 124, 77
HSL
29°, 39%, 49%
CMYK
0, 29, 56, 31
Luminance
0.2407

At a glance

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

Hex
#af7c4d
Hue
29°
orange
Saturation
39%
soft
Lightness
49%
balanced
Brightness
69%
HSV value
Perceived
54%
weighted brightness
Luminance
0.2407
WCAG relative
Temperature
Warm
1/100 cool
Color family
Orange
Tone
Soft
Best ink
Black
5.81:1
Closest name
Peru
ΔE2000 7.4
Where it sits
Hue29° of 360°
Saturation39%
Lightness49%
Temperature
Warm ← → Cool1% 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#af7c4d
RGBrgb(175, 124, 77)
HSLhsl(29, 39%, 49%)
CMYKcmyk(0%, 29%, 56%, 31%)
LABlab(56.1 14.5 33.3)
LCHlch(56.1 36.3 66.5)
OKLCHoklch(0.627 0.090 62.7)
Decimal11500621
Display P3color(display-p3 0.686 0.486 0.302)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af7c4d on white: 3.61:1
AA ✗ fail · AA-large · AAA
Aa
#af7c4d on black: 5.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8C8049
deuteranopia · #988B4E
tritanopia · #BD7171

Color scale — 50 to 950

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

#FAF7F5
#F4F0EB
#E9DDD3
#DDC6B1
#CCAA8A
#BA8D63
#af7c4d
#8E643E
#715032
#533C27
#342619
Base = 600Lightest = 50 · #FAF7F5Darkest = 950 · #342619
:root {
  --brand-50: #FAF7F5;
  --brand-100: #F4F0EB;
  --brand-200: #E9DDD3;
  --brand-300: #DDC6B1;
  --brand-400: #CCAA8A;
  --brand-500: #BA8D63;
  --brand-600: #af7c4d;
  --brand-700: #8E643E;
  --brand-800: #715032;
  --brand-900: #533C27;
  --brand-950: #342619;
  --brand: #af7c4d;
  --brand-ink: #000000;
}

Colors that work with #af7c4d

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#FAF7F4
Tinted page background
Border#E6D6C6
Hairlines and dividers
Muted text#9B714B
Captions on the surface
Accent#3A7D92
Second voice, not a rival
Dark variant#593F27
Hover, pressed, headers
Light variant#F7F2ED
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 #af7c4d

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#4D80AF
Analogous left#AF4D4F
Analogous right#AFAD4D
Split-complement 1#4DAFAD
Split-complement 2#4D4FAF
Triadic 1#4DAF7C
Triadic 2#7C4DAF
Tetradic#4FAF4D

RGB percentages

Red68.6%
Green48.6%
Blue30.2%

CMYK percentages

Cyan0.0%
Magenta29.1%
Yellow56.0%
Key (black)31.4%

Color previews

#af7c4d text on a black background

contrast 5.81:1

Card sample

#af7c4d text on a white background

contrast 3.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af7c4d

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.

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

#af7c4d, answered

What color is #af7c4d?

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

What is the RGB value of #af7c4d?

rgb(175, 124, 77) — 175 red, 124 green and 77 blue out of 255, or 68.6% / 48.6% / 30.2% by channel.

Is #af7c4d a light or a dark color?

It is a mid-tone. Relative luminance is 0.2407 and perceived brightness is 54%, so black text on it reaches 5.81:1.

Should I use black or white text on #af7c4d?

Black. It scores 5.81:1 against #af7c4d, versus 3.61:1 for white — AA at any size.

What is the complementary color of #af7c4d?

#4D80AF sits directly opposite on the wheel. Softer options are the split-complements #4DAFAD and #4D4FAF, which give the same contrast with far less vibration.

What colors go well with #af7c4d?

For interface work: #FAF7F4 as the surface, #E6D6C6 for borders, #9B714B for secondary text, #3A7D92 as an accent and #593F27 for hover and pressed states. For a palette, the analogous pair #AF4D4F and #AFAD4D stays calm, while #4D80AF is the loudest partner.

What is #af7c4d in CMYK for printing?

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

Is #af7c4d warm or cool?

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

Work with #af7c4d in the Color Lab