#af7c4d
a balanced, soft orange · warm · closest name: Peru
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.
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 |
| RGB | rgb(175, 124, 77) |
| HSL | hsl(29, 39%, 49%) |
| CMYK | cmyk(0%, 29%, 56%, 31%) |
| LAB | lab(56.1 14.5 33.3) |
| LCH | lch(56.1 36.3 66.5) |
| OKLCH | oklch(0.627 0.090 62.7) |
| Decimal | 11500621 |
| Display P3 | color(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.
Accessibility — WCAG contrast
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.
: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.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #af7c4d
Derived from its contrast, chroma and lightness — not from taste.
- ✓Headings from 24px up on white
- ✓Text and icons on dark surfaces
- ✓Charts, tags and secondary surfaces
- ✓Brand accents, badges and data highlights
- ⚠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 | Directly opposite — maximum tension | |
| Analogous left | #AF4D4F | Neighbour, quieter | |
| Analogous right | #AFAD4D | Neighbour, quieter | |
| Split-complement 1 | #4DAFAD | Contrast without the clash | |
| Split-complement 2 | #4D4FAF | Contrast without the clash | |
| Triadic 1 | #4DAF7C | Even thirds — balanced and loud | |
| Triadic 2 | #7C4DAF | Even thirds — balanced and loud | |
| Tetradic | #4FAF4D | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#af7c4d text on a black background
contrast 5.81:1
#af7c4d text on a white background
contrast 3.61:1
CSS3 live lab
The quick brown fox
color: #af7c4d;
background-color: #af7c4d;
Glowing headline
text-shadow: 2px 2px 8px #af7c4d;
Soft neon halo
text-shadow: 0 0 14px rgba(175, 124, 77, 0.45);
box-shadow: 0 12px 32px -8px rgba(175, 124, 77, 0.45);
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.
Closest color with a full write-up: Copper (#b87333) — ΔE2000 5 away, with its history, psychology and brand usage.
#af7c4d in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
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.