Skip to content

#af5f40

a balanced, vivid orange · warm · closest name: Sienna

RGB
175, 95, 64
HSL
17°, 46%, 47%
CMYK
0, 46, 63, 31
Luminance
0.1767

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.

Hex
#af5f40
Hue
17°
orange
Saturation
46%
vivid
Lightness
47%
balanced
Brightness
69%
HSV value
Perceived
48%
weighted brightness
Luminance
0.1767
WCAG relative
Temperature
Warm
7/100 cool
Color family
Orange
Tone
Vivid
Best ink
White
4.63:1
Closest name
Sienna
ΔE2000 5.5
Where it sits
Hue17° of 360°
Saturation46%
Lightness47%
Temperature
Warm ← → Cool7% 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#af5f40
RGBrgb(175, 95, 64)
HSLhsl(17, 46%, 47%)
CMYKcmyk(0%, 46%, 63%, 31%)
LABlab(49.1 29.6 31.9)
LCHlch(49.1 43.5 47.1)
OKLCHoklch(0.572 0.113 41.5)
Decimal11493184
Display P3color(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.

Readable at a glance#ffffff on #af5f40 · 4.63:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 4.63:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.53:1
AA pass · AA large pass · AAA fail
Reading the other direction: #af5f40 as text scores 4.63:1 on white and 4.53:1 on black.

Accessibility — WCAG contrast

Aa
#af5f40 on white: 4.63:1
AA ✓ pass · AA-large · AAA
Aa
#af5f40 on black: 4.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #746A3D
deuteranopia · #887B3F
tritanopia · #BF5058

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.

#FAF6F5
#F5EDEA
#EBD8D0
#E1BBAD
#D29A84
#C3785B
#af5f40
#955137
#77412C
#573223
#371F16
Base = 600Lightest = 50 · #FAF6F5Darkest = 950 · #371F16
: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.

Text on it#ffffff
White wins here
Surface#FAF6F4
Tinted page background
Border#E9CEC3
Hairlines and dividers
Muted text#9B614B
Captions on the surface
Accent#32969A
Second voice, not a rival
Dark variant#5D3322
Hover, pressed, headers
Light variant#F8F0EC
Selected rows, tints
Dark surface#241814
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 #af5f40

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • 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
Use with care
  • 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
Analogous left#AF4059
Analogous right#AF9740
Split-complement 1#40AF97
Split-complement 2#4059AF
Triadic 1#40AF5F
Triadic 2#5F40AF
Tetradic#59AF40

RGB percentages

Red68.6%
Green37.3%
Blue25.1%

CMYK percentages

Cyan0.0%
Magenta45.7%
Yellow63.4%
Key (black)31.4%

Color previews

#af5f40 text on a black background

contrast 4.53:1

Card sample

#af5f40 text on a white background

contrast 4.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 95, 64, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 95, 64, 0.45);
Border & gradient
Gradient panel
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.

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

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

Work with #af5f40 in the Color Lab