Skip to content

#af6a2f

a dark, vivid orange · warm · closest name: Chocolate

RGB
175, 106, 47
HSL
28°, 58%, 44%
CMYK
0, 39, 73, 31
Luminance
0.1963

At a glance

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

Hex
#af6a2f
Hue
28°
orange
Saturation
58%
vivid
Lightness
44%
dark
Brightness
69%
HSV value
Perceived
50%
weighted brightness
Luminance
0.1963
WCAG relative
Temperature
Warm
1/100 cool
Color family
Orange
Tone
Vivid
Best ink
Black
4.93:1
Closest name
Chocolate
ΔE2000 7.8
Where it sits
Hue28° of 360°
Saturation58%
Lightness44%
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#af6a2f
RGBrgb(175, 106, 47)
HSLhsl(28, 58%, 44%)
CMYKcmyk(0%, 39%, 73%, 31%)
LABlab(51.4 22.6 43.5)
LCHlch(51.4 49.0 62.6)
OKLCHoklch(0.590 0.115 58.1)
Decimal11495983
Display P3color(display-p3 0.686 0.416 0.184)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af6a2f on white: 4.26:1
AA ✗ fail · AA-large · AAA
Aa
#af6a2f on black: 4.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7F7128
deuteranopia · #8F812F
tritanopia · #BF5B5D

Color scale — 50 to 950

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

#FBF7F4
#F7EFE9
#EFDDCD
#E7C4A7
#DBA77A
#D08A4E
#C17534
#af6a2f
#814E23
#5E3B1D
#3B2512
Base = 700Lightest = 50 · #FBF7F4Darkest = 950 · #3B2512
:root {
  --brand-50: #FBF7F4;
  --brand-100: #F7EFE9;
  --brand-200: #EFDDCD;
  --brand-300: #E7C4A7;
  --brand-400: #DBA77A;
  --brand-500: #D08A4E;
  --brand-600: #C17534;
  --brand-700: #af6a2f;
  --brand-800: #814E23;
  --brand-900: #5E3B1D;
  --brand-950: #3B2512;
  --brand: #af6a2f;
  --brand-ink: #000000;
}

Colors that work with #af6a2f

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#EDD4C0
Hairlines and dividers
Muted text#9B704B
Captions on the surface
Accent#2A96B3
Second voice, not a rival
Dark variant#653D1B
Hover, pressed, headers
Light variant#FAF2EB
Selected rows, tints
Dark surface#241B14
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 #af6a2f

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
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • 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#2F74AF
Analogous left#AF2F34
Analogous right#AFAA2F
Split-complement 1#2FAFAA
Split-complement 2#2F34AF
Triadic 1#2FAF6A
Triadic 2#6A2FAF
Tetradic#34AF2F

RGB percentages

Red68.6%
Green41.6%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta39.4%
Yellow73.1%
Key (black)31.4%

Color previews

#af6a2f text on a black background

contrast 4.93:1

Card sample

#af6a2f text on a white background

contrast 4.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 106, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 106, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af6a2f;
background: linear-gradient(135deg, #af6a2f, #9FAF2F);

Monochromatic scale

Palettes built from #af6a2f

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.

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

#af6a2f, answered

What color is #af6a2f?

#af6a2f is a dark vivid orange, closest to Chocolate (ΔE2000 7.8). It sits at 28° on the hue wheel with 58% saturation and 44% lightness, which reads as warm.

What is the RGB value of #af6a2f?

rgb(175, 106, 47) — 175 red, 106 green and 47 blue out of 255, or 68.6% / 41.6% / 18.4% by channel.

Is #af6a2f a light or a dark color?

It is a mid-tone. Relative luminance is 0.1963 and perceived brightness is 50%, so black text on it reaches 4.93:1.

Should I use black or white text on #af6a2f?

Black. It scores 4.93:1 against #af6a2f, versus 4.26:1 for white — AA at any size.

What is the complementary color of #af6a2f?

#2F74AF sits directly opposite on the wheel. Softer options are the split-complements #2FAFAA and #2F34AF, which give the same contrast with far less vibration.

What colors go well with #af6a2f?

For interface work: #FAF7F4 as the surface, #EDD4C0 for borders, #9B704B for secondary text, #2A96B3 as an accent and #653D1B for hover and pressed states. For a palette, the analogous pair #AF2F34 and #AFAA2F stays calm, while #2F74AF is the loudest partner.

What is #af6a2f in CMYK for printing?

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

Is #af6a2f 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 #C37334; nudged cooler, #B1392D.

Work with #af6a2f in the Color Lab