Skip to content

#af6f1d

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

RGB
175, 111, 29
HSL
34°, 72%, 40%
CMYK
0, 37, 83, 31
Luminance
0.2057

At a glance

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

Hex
#af6f1d
Hue
34°
orange
Saturation
72%
vivid
Lightness
40%
dark
Brightness
69%
HSV value
Perceived
50%
weighted brightness
Luminance
0.2057
WCAG relative
Temperature
Warm
3/100 cool
Color family
Orange
Tone
Vivid
Best ink
Black
5.11:1
Closest name
Peru
ΔE2000 8.9
Where it sits
Hue34° of 360°
Saturation72%
Lightness40%
Temperature
Warm ← → Cool3% 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#af6f1d
RGBrgb(175, 111, 29)
HSLhsl(34, 72%, 40%)
CMYKcmyk(0%, 37%, 83%, 31%)
LABlab(52.5 19.0 52.2)
LCHlch(52.5 55.5 70.0)
OKLCHoklch(0.597 0.121 66.9)
Decimal11497245
Display P3color(display-p3 0.686 0.435 0.114)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af6f1d on white: 4.11:1
AA ✗ fail · AA-large · AAA
Aa
#af6f1d on black: 5.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #84740C
deuteranopia · #93831F
tritanopia · #BF605F

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #af6f1d 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.

#FCF8F3
#F8F1E7
#F3E0C9
#EFCC9F
#E7B26F
#DF993E
#D28523
#af6f1d
#8C5917
#664215
#3F290D
Base = 700Lightest = 50 · #FCF8F3Darkest = 950 · #3F290D
:root {
  --brand-50: #FCF8F3;
  --brand-100: #F8F1E7;
  --brand-200: #F3E0C9;
  --brand-300: #EFCC9F;
  --brand-400: #E7B26F;
  --brand-500: #DF993E;
  --brand-600: #D28523;
  --brand-700: #af6f1d;
  --brand-800: #8C5917;
  --brand-900: #664215;
  --brand-950: #3F290D;
  --brand: #af6f1d;
  --brand-ink: #000000;
}

Colors that work with #af6f1d

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#FAF8F4
Tinted page background
Border#EDD9C0
Hairlines and dividers
Muted text#9B784B
Captions on the surface
Accent#1983B3
Second voice, not a rival
Dark variant#6D4512
Hover, pressed, headers
Light variant#FBF3E9
Selected rows, tints
Dark surface#241D14
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 #af6f1d

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#1D5DAF
Analogous left#AF261D
Analogous right#A6AF1D
Split-complement 1#1DA6AF
Split-complement 2#261DAF
Triadic 1#1DAF6F
Triadic 2#6F1DAF
Tetradic#1DAF26

RGB percentages

Red68.6%
Green43.5%
Blue11.4%

CMYK percentages

Cyan0.0%
Magenta36.6%
Yellow83.4%
Key (black)31.4%

Color previews

#af6f1d text on a black background

contrast 5.11:1

Card sample

#af6f1d text on a white background

contrast 4.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 111, 29, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 111, 29, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af6f1d;
background: linear-gradient(135deg, #af6f1d, #8EAF1D);

Monochromatic scale

Palettes built from #af6f1d

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.

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

#af6f1d, answered

What color is #af6f1d?

#af6f1d is a dark vivid orange, closest to Peru (ΔE2000 8.9). It sits at 34° on the hue wheel with 72% saturation and 40% lightness, which reads as warm.

What is the RGB value of #af6f1d?

rgb(175, 111, 29) — 175 red, 111 green and 29 blue out of 255, or 68.6% / 43.5% / 11.4% by channel.

Is #af6f1d a light or a dark color?

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

Should I use black or white text on #af6f1d?

Black. It scores 5.11:1 against #af6f1d, versus 4.11:1 for white — AA at any size.

What is the complementary color of #af6f1d?

#1D5DAF sits directly opposite on the wheel. Softer options are the split-complements #1DA6AF and #261DAF, which give the same contrast with far less vibration.

What colors go well with #af6f1d?

For interface work: #FAF8F4 as the surface, #EDD9C0 for borders, #9B784B for secondary text, #1983B3 as an accent and #6D4512 for hover and pressed states. For a palette, the analogous pair #AF261D and #A6AF1D stays calm, while #1D5DAF is the loudest partner.

What is #af6f1d in CMYK for printing?

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

Is #af6f1d warm or cool?

Warm — it scores 3 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C56F21; nudged cooler, #B1A61B.

Work with #af6f1d in the Color Lab