#af785f
a balanced, soft orange · warm · closest name: Peru
At a glance
Every number on this page in one read: what #af785f 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 | #af785f |
| RGB | rgb(175, 120, 95) |
| HSL | hsl(19, 33%, 53%) |
| CMYK | cmyk(0%, 31%, 46%, 31%) |
| LAB | lab(55.5 18.5 22.4) |
| LCH | lch(55.5 29.0 50.4) |
| OKLCH | oklch(0.623 0.078 45.3) |
| Decimal | 11499615 |
| Display P3 | color(display-p3 0.686 0.471 0.373) |
Copy-ready code
/* CSS */
color: #af785f;
background-color: #af785f;
/* Tailwind (arbitrary) */
class="text-[#af785f] bg-[#af785f]"
/* SCSS */
$brand: #af785f;
/* SwiftUI */
Color(red: 0.686, green: 0.471, blue: 0.373)
/* Android */
Color.parseColor("#af785f")
/* Flutter */
Color(0xFFAF785F)
/* Python / OpenCV (BGR) */
(95, 120, 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. #af785f 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.
:root {
--brand-50: #F9F7F5;
--brand-100: #F4EEEC;
--brand-200: #E8DAD4;
--brand-300: #DAC0B4;
--brand-400: #C7A08F;
--brand-500: #af785f;
--brand-600: #A36B52;
--brand-700: #885944;
--brand-800: #6D4736;
--brand-900: #50362A;
--brand-950: #32221B;
--brand: #af785f;
--brand-ink: #000000;
}Colors that work with #af785f
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 #af785f
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 | #5F96AF | Directly opposite — maximum tension | |
| Analogous left | #AF5F6E | Neighbour, quieter | |
| Analogous right | #AFA05F | Neighbour, quieter | |
| Split-complement 1 | #5FAFA0 | Contrast without the clash | |
| Split-complement 2 | #5F6EAF | Contrast without the clash | |
| Triadic 1 | #5FAF78 | Even thirds — balanced and loud | |
| Triadic 2 | #785FAF | Even thirds — balanced and loud | |
| Tetradic | #6EAF5F | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#af785f text on a black background
contrast 5.67:1
#af785f text on a white background
contrast 3.70:1
CSS3 live lab
The quick brown fox
color: #af785f;
background-color: #af785f;
Glowing headline
text-shadow: 2px 2px 8px #af785f;
Soft neon halo
text-shadow: 0 0 14px rgba(175, 120, 95, 0.45);
box-shadow: 0 12px 32px -8px rgba(175, 120, 95, 0.45);
border: 3px solid #af785f; background: linear-gradient(135deg, #af785f, #AFAD5F);
Monochromatic scale
Palettes built from #af785f
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 10.3 away, with its history, psychology and brand usage.
#af785f 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.
#af785f, answered
What color is #af785f?
#af785f is a balanced soft orange, closest to Peru (ΔE2000 12.6). It sits at 19° on the hue wheel with 33% saturation and 53% lightness, which reads as warm.
What is the RGB value of #af785f?
rgb(175, 120, 95) — 175 red, 120 green and 95 blue out of 255, or 68.6% / 47.1% / 37.3% by channel.
Is #af785f a light or a dark color?
It is a mid-tone. Relative luminance is 0.2337 and perceived brightness is 54%, so black text on it reaches 5.67:1.
Should I use black or white text on #af785f?
Black. It scores 5.67:1 against #af785f, versus 3.70:1 for white — AA at any size.
What is the complementary color of #af785f?
#5F96AF sits directly opposite on the wheel. Softer options are the split-complements #5FAFA0 and #5F6EAF, which give the same contrast with far less vibration.
What colors go well with #af785f?
For interface work: #FAF6F5 as the surface, #E4D1C9 for borders, #99644D for secondary text, #40878C as an accent and #55382B for hover and pressed states. For a palette, the analogous pair #AF5F6E and #AFA05F stays calm, while #5F96AF is the loudest partner.
What is #af785f in CMYK for printing?
cmyk(0%, 31%, 46%, 31%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #af785f warm or cool?
Warm — it scores 8 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B78C70; nudged cooler, #B15C61.