Skip to content

#af6b0b

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

RGB
175, 107, 11
HSL
35°, 88%, 37%
CMYK
0, 39, 94, 31
Luminance
0.1965

At a glance

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

Hex
#af6b0b
Hue
35°
orange
Saturation
88%
electric
Lightness
37%
dark
Brightness
69%
HSV value
Perceived
49%
weighted brightness
Luminance
0.1965
WCAG relative
Temperature
Warm
4/100 cool
Color family
Orange
Tone
Electric
Best ink
Black
4.93:1
Closest name
Peru
ΔE2000 10.1
Where it sits
Hue35° of 360°
Saturation88%
Lightness37%
Temperature
Warm ← → Cool4% 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#af6b0b
RGBrgb(175, 107, 11)
HSLhsl(35, 88%, 37%)
CMYKcmyk(0%, 39%, 94%, 31%)
LABlab(51.5 20.9 56.6)
LCHlch(51.5 60.3 69.8)
OKLCHoklch(0.589 0.128 66.2)
Decimal11496203
Display P3color(display-p3 0.686 0.420 0.043)

Copy-ready code

/* CSS */
color: #af6b0b;
background-color: #af6b0b;
/* Tailwind (arbitrary) */
class="text-[#af6b0b] bg-[#af6b0b]"
/* SCSS */
$brand: #af6b0b;
/* SwiftUI */
Color(red: 0.686, green: 0.420, blue: 0.043)
/* Android */
Color.parseColor("#af6b0b")
/* Flutter */
Color(0xFFAF6B0B)
/* Python / OpenCV (BGR) */
(11, 107, 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 #af6b0b · 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: #af6b0b as text scores 4.26:1 on white and 4.93:1 on black.

Accessibility — WCAG contrast

Aa
#af6b0b on white: 4.26:1
AA ✗ fail · AA-large · AAA
Aa
#af6b0b on black: 4.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #817100
deuteranopia · #91810E
tritanopia · #C05B5B

Color scale — 50 to 950

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

#FDF8F2
#FAF2E5
#F8E2C4
#F8CF95
#F5B761
#F2A02C
#E68D0E
#af6b0b
#9A5E0A
#6F460C
#452C07
Base = 700Lightest = 50 · #FDF8F2Darkest = 950 · #452C07
:root {
  --brand-50: #FDF8F2;
  --brand-100: #FAF2E5;
  --brand-200: #F8E2C4;
  --brand-300: #F8CF95;
  --brand-400: #F5B761;
  --brand-500: #F2A02C;
  --brand-600: #E68D0E;
  --brand-700: #af6b0b;
  --brand-800: #9A5E0A;
  --brand-900: #6F460C;
  --brand-950: #452C07;
  --brand: #af6b0b;
  --brand-ink: #000000;
}

Colors that work with #af6b0b

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#EDDAC0
Hairlines and dividers
Muted text#9B7A4B
Captions on the surface
Accent#0779B3
Second voice, not a rival
Dark variant#784908
Hover, pressed, headers
Light variant#FDF4E7
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 #af6b0b

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#0B4FAF
Analogous left#AF190B
Analogous right#A1AF0B
Split-complement 1#0BA1AF
Split-complement 2#190BAF
Triadic 1#0BAF6B
Triadic 2#6B0BAF
Tetradic#0BAF19

RGB percentages

Red68.6%
Green42.0%
Blue4.3%

CMYK percentages

Cyan0.0%
Magenta38.9%
Yellow93.7%
Key (black)31.4%

Color previews

#af6b0b text on a black background

contrast 4.93:1

Card sample

#af6b0b text on a white background

contrast 4.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 107, 11, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 107, 11, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af6b0b;
background: linear-gradient(135deg, #af6b0b, #86AF0B);

Monochromatic scale

Palettes built from #af6b0b

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.

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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#af6b0b, answered

What color is #af6b0b?

#af6b0b is a dark electric orange, closest to Peru (ΔE2000 10.1). It sits at 35° on the hue wheel with 88% saturation and 37% lightness, which reads as warm.

What is the RGB value of #af6b0b?

rgb(175, 107, 11) — 175 red, 107 green and 11 blue out of 255, or 68.6% / 42% / 4.3% by channel.

Is #af6b0b a light or a dark color?

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

Should I use black or white text on #af6b0b?

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

What is the complementary color of #af6b0b?

#0B4FAF sits directly opposite on the wheel. Softer options are the split-complements #0BA1AF and #190BAF, which give the same contrast with far less vibration.

What colors go well with #af6b0b?

For interface work: #FAF8F4 as the surface, #EDDAC0 for borders, #9B7A4B for secondary text, #0779B3 as an accent and #784908 for hover and pressed states. For a palette, the analogous pair #AF190B and #A1AF0B stays calm, while #0B4FAF is the loudest partner.

What is #af6b0b in CMYK for printing?

cmyk(0%, 39%, 94%, 31%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #af6b0b warm or cool?

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

Work with #af6b0b in the Color Lab