Skip to content

#af8f7b

a balanced, soft orange · warm · closest name: Rosy Brown

RGB
175, 143, 123
HSL
23°, 25%, 58%
CMYK
0, 18, 30, 31
Luminance
0.3019

At a glance

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

Hex
#af8f7b
Hue
23°
orange
Saturation
25%
soft
Lightness
58%
balanced
Brightness
69%
HSV value
Perceived
59%
weighted brightness
Luminance
0.3019
WCAG relative
Temperature
Warm
18/100 cool
Color family
Orange
Tone
Soft
Best ink
Black
7.04:1
Closest name
Rosy Brown
ΔE2000 10.8
Where it sits
Hue23° of 360°
Saturation25%
Lightness58%
Temperature
Warm ← → Cool18% 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#af8f7b
RGBrgb(175, 143, 123)
HSLhsl(23, 25%, 58%)
CMYKcmyk(0%, 18%, 30%, 31%)
LABlab(61.8 9.0 15.2)
LCHlch(61.8 17.7 59.2)
OKLCHoklch(0.674 0.048 53.7)
Decimal11505531
Display P3color(display-p3 0.686 0.561 0.482)

Copy-ready code

/* CSS */
color: #af8f7b;
background-color: #af8f7b;
/* Tailwind (arbitrary) */
class="text-[#af8f7b] bg-[#af8f7b]"
/* SCSS */
$brand: #af8f7b;
/* SwiftUI */
Color(red: 0.686, green: 0.561, blue: 0.482)
/* Android */
Color.parseColor("#af8f7b")
/* Flutter */
Color(0xFFAF8F7B)
/* Python / OpenCV (BGR) */
(123, 143, 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 #af8f7b · 7.04:1
Use #000000AAA at every size.
Aa
White text · 2.98:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.04:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #af8f7b as text scores 2.98:1 on white and 7.04:1 on black.

Accessibility — WCAG contrast

Aa
#af8f7b on white: 2.98:1
AA ✗ fail · AA-large · AAA
Aa
#af8f7b on black: 7.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #98917A
deuteranopia · #9F987B
tritanopia · #B88989

Color scale — 50 to 950

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

#F9F7F6
#F3EFED
#E5DCD7
#D5C4B9
#BFA696
#af8f7b
#98745C
#7F604D
#664D3E
#4B3A2F
#2F241E
Base = 500Lightest = 50 · #F9F7F6Darkest = 950 · #2F241E
:root {
  --brand-50: #F9F7F6;
  --brand-100: #F3EFED;
  --brand-200: #E5DCD7;
  --brand-300: #D5C4B9;
  --brand-400: #BFA696;
  --brand-500: #af8f7b;
  --brand-600: #98745C;
  --brand-700: #7F604D;
  --brand-800: #664D3E;
  --brand-900: #4B3A2F;
  --brand-950: #2F241E;
  --brand: #af8f7b;
  --brand-ink: #000000;
}

Colors that work with #af8f7b

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#F9F7F5
Tinted page background
Border#E0D4CC
Hairlines and dividers
Muted text#8F6C57
Captions on the surface
Accent#497B83
Second voice, not a rival
Dark variant#4F3C30
Hover, pressed, headers
Light variant#F5F2EF
Selected rows, tints
Dark surface#231A15
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 #af8f7b

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

Works well for
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • 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#7B9BAF
Analogous left#AF7B81
Analogous right#AFA97B
Split-complement 1#7BAFA9
Split-complement 2#7B81AF
Triadic 1#7BAF8F
Triadic 2#8F7BAF
Tetradic#81AF7B

RGB percentages

Red68.6%
Green56.1%
Blue48.2%

CMYK percentages

Cyan0.0%
Magenta18.3%
Yellow29.7%
Key (black)31.4%

Color previews

#af8f7b text on a black background

contrast 7.04:1

Card sample

#af8f7b text on a white background

contrast 2.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af8f7b

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.

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

#af8f7b, answered

What color is #af8f7b?

#af8f7b is a balanced soft orange, closest to Rosy Brown (ΔE2000 10.8). It sits at 23° on the hue wheel with 25% saturation and 58% lightness, which reads as warm.

What is the RGB value of #af8f7b?

rgb(175, 143, 123) — 175 red, 143 green and 123 blue out of 255, or 68.6% / 56.1% / 48.2% by channel.

Is #af8f7b a light or a dark color?

It is a mid-tone. Relative luminance is 0.3019 and perceived brightness is 59%, so black text on it reaches 7.04:1.

Should I use black or white text on #af8f7b?

Black. It scores 7.04:1 against #af8f7b, versus 2.98:1 for white — AAA at any size.

What is the complementary color of #af8f7b?

#7B9BAF sits directly opposite on the wheel. Softer options are the split-complements #7BAFA9 and #7B81AF, which give the same contrast with far less vibration.

What colors go well with #af8f7b?

For interface work: #F9F7F5 as the surface, #E0D4CC for borders, #8F6C57 for secondary text, #497B83 as an accent and #4F3C30 for hover and pressed states. For a palette, the analogous pair #AF7B81 and #AFA97B stays calm, while #7B9BAF is the loudest partner.

What is #af8f7b in CMYK for printing?

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

Is #af8f7b warm or cool?

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

Work with #af8f7b in the Color Lab