#af5f40
a balanced, vivid orange · warm · closest name: Sienna
At a glance
Every number on this page in one read: what #af5f40 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 | #af5f40 |
| RGB | rgb(175, 95, 64) |
| HSL | hsl(17, 46%, 47%) |
| CMYK | cmyk(0%, 46%, 63%, 31%) |
| LAB | lab(49.1 29.6 31.9) |
| LCH | lch(49.1 43.5 47.1) |
| OKLCH | oklch(0.572 0.113 41.5) |
| Decimal | 11493184 |
| Display P3 | color(display-p3 0.686 0.373 0.251) |
Copy-ready code
/* CSS */
color: #af5f40;
background-color: #af5f40;
/* Tailwind (arbitrary) */
class="text-[#af5f40] bg-[#af5f40]"
/* SCSS */
$brand: #af5f40;
/* SwiftUI */
Color(red: 0.686, green: 0.373, blue: 0.251)
/* Android */
Color.parseColor("#af5f40")
/* Flutter */
Color(0xFFAF5F40)
/* Python / OpenCV (BGR) */
(64, 95, 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. #af5f40 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: #FAF6F5;
--brand-100: #F5EDEA;
--brand-200: #EBD8D0;
--brand-300: #E1BBAD;
--brand-400: #D29A84;
--brand-500: #C3785B;
--brand-600: #af5f40;
--brand-700: #955137;
--brand-800: #77412C;
--brand-900: #573223;
--brand-950: #371F16;
--brand: #af5f40;
--brand-ink: #ffffff;
}Colors that work with #af5f40
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 #af5f40
Derived from its contrast, chroma and lightness — not from taste.
- ✓Body text and links on white
- ✓Text and icons on dark surfaces
- ✓Primary buttons and calls to action
- ✓Focus rings, active and selected states
- ✓Brand accents, badges and data highlights
- ⚠Full-page backgrounds — tiring over long sessions
- ⚠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 | #4090AF | Directly opposite — maximum tension | |
| Analogous left | #AF4059 | Neighbour, quieter | |
| Analogous right | #AF9740 | Neighbour, quieter | |
| Split-complement 1 | #40AF97 | Contrast without the clash | |
| Split-complement 2 | #4059AF | Contrast without the clash | |
| Triadic 1 | #40AF5F | Even thirds — balanced and loud | |
| Triadic 2 | #5F40AF | Even thirds — balanced and loud | |
| Tetradic | #59AF40 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#af5f40 text on a black background
contrast 4.53:1
#af5f40 text on a white background
contrast 4.63:1
CSS3 live lab
The quick brown fox
color: #af5f40;
background-color: #af5f40;
Glowing headline
text-shadow: 2px 2px 8px #af5f40;
Soft neon halo
text-shadow: 0 0 14px rgba(175, 95, 64, 0.45);
box-shadow: 0 12px 32px -8px rgba(175, 95, 64, 0.45);
border: 3px solid #af5f40; background: linear-gradient(135deg, #af5f40, #AFA940);
Monochromatic scale
Palettes built from #af5f40
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: Sienna (#a0522d) — ΔE2000 5.5 away, with its history, psychology and brand usage.
#af5f40 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.
#af5f40, answered
What color is #af5f40?
#af5f40 is a balanced vivid orange, closest to Sienna (ΔE2000 5.5). It sits at 17° on the hue wheel with 46% saturation and 47% lightness, which reads as warm.
What is the RGB value of #af5f40?
rgb(175, 95, 64) — 175 red, 95 green and 64 blue out of 255, or 68.6% / 37.3% / 25.1% by channel.
Is #af5f40 a light or a dark color?
It is a dark color. Relative luminance is 0.1767 and perceived brightness is 48%, so white text on it reaches 4.63:1.
Should I use black or white text on #af5f40?
White. It scores 4.63:1 against #af5f40, versus 4.53:1 for black — AA at any size.
What is the complementary color of #af5f40?
#4090AF sits directly opposite on the wheel. Softer options are the split-complements #40AF97 and #4059AF, which give the same contrast with far less vibration.
What colors go well with #af5f40?
For interface work: #FAF6F4 as the surface, #E9CEC3 for borders, #9B614B for secondary text, #32969A as an accent and #5D3322 for hover and pressed states. For a palette, the analogous pair #AF4059 and #AF9740 stays calm, while #4090AF is the loudest partner.
What is #af5f40 in CMYK for printing?
cmyk(0%, 46%, 63%, 31%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #af5f40 warm or cool?
Warm — it scores 7 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #BD764B; nudged cooler, #B13E48.