Skip to content

#af766f

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

RGB
175, 118, 111
HSL
7°, 29%, 56%
CMYK
0, 33, 37, 31
Luminance
0.2322

At a glance

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

Hex
#af766f
Hue
red
Saturation
29%
soft
Lightness
56%
balanced
Brightness
69%
HSV value
Perceived
54%
weighted brightness
Luminance
0.2322
WCAG relative
Temperature
Warm
20/100 cool
Color family
Red
Tone
Soft
Best ink
Black
5.64:1
Closest name
Rosy Brown
ΔE2000 8.6
Where it sits
Hue7° of 360°
Saturation29%
Lightness56%
Temperature
Warm ← → Cool20% 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#af766f
RGBrgb(175, 118, 111)
HSLhsl(7, 29%, 56%)
CMYKcmyk(0%, 33%, 37%, 31%)
LABlab(55.3 21.5 13.0)
LCHlch(55.3 25.1 31.1)
OKLCHoklch(0.623 0.073 27.1)
Decimal11499119
Display P3color(display-p3 0.686 0.463 0.435)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af766f on white: 3.72:1
AA ✗ fail · AA-large · AAA
Aa
#af766f on black: 5.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #827E6E
deuteranopia · #90896E
tritanopia · #BB6F74

Color scale — 50 to 950

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

#F9F6F6
#F3EDEC
#E6D7D6
#D7BAB7
#C39893
#af766f
#9D5F57
#834F49
#693F3A
#4D312D
#301E1C
Base = 500Lightest = 50 · #F9F6F6Darkest = 950 · #301E1C
:root {
  --brand-50: #F9F6F6;
  --brand-100: #F3EDEC;
  --brand-200: #E6D7D6;
  --brand-300: #D7BAB7;
  --brand-400: #C39893;
  --brand-500: #af766f;
  --brand-600: #9D5F57;
  --brand-700: #834F49;
  --brand-800: #693F3A;
  --brand-900: #4D312D;
  --brand-950: #301E1C;
  --brand: #af766f;
  --brand-ink: #000000;
}

Colors that work with #af766f

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#FAF6F5
Tinted page background
Border#E2CDCB
Hairlines and dividers
Muted text#945952
Captions on the surface
Accent#45877D
Second voice, not a rival
Dark variant#52322E
Hover, pressed, headers
Light variant#F6EFEF
Selected rows, tints
Dark surface#241614
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 #af766f

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
  • Charts, tags and secondary surfaces
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • 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#6FA8AF
Analogous left#AF6F88
Analogous right#AF966F
Split-complement 1#6FAF96
Split-complement 2#6F88AF
Triadic 1#6FAF76
Triadic 2#766FAF
Tetradic#88AF6F

RGB percentages

Red68.6%
Green46.3%
Blue43.5%

CMYK percentages

Cyan0.0%
Magenta32.6%
Yellow36.6%
Key (black)31.4%

Color previews

#af766f text on a black background

contrast 5.64:1

Card sample

#af766f text on a white background

contrast 3.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af766f

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.

#af766f in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
Food and drinkEntertainmentRetailSport
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#af766f, answered

What color is #af766f?

#af766f is a balanced soft red, closest to Rosy Brown (ΔE2000 8.6). It sits at 7° on the hue wheel with 29% saturation and 56% lightness, which reads as warm.

What is the RGB value of #af766f?

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

Is #af766f a light or a dark color?

It is a mid-tone. Relative luminance is 0.2322 and perceived brightness is 54%, so black text on it reaches 5.64:1.

Should I use black or white text on #af766f?

Black. It scores 5.64:1 against #af766f, versus 3.72:1 for white — AA at any size.

What is the complementary color of #af766f?

#6FA8AF sits directly opposite on the wheel. Softer options are the split-complements #6FAF96 and #6F88AF, which give the same contrast with far less vibration.

What colors go well with #af766f?

For interface work: #FAF6F5 as the surface, #E2CDCB for borders, #945952 for secondary text, #45877D as an accent and #52322E for hover and pressed states. For a palette, the analogous pair #AF6F88 and #AF966F stays calm, while #6FA8AF is the loudest partner.

What is #af766f in CMYK for printing?

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

Is #af766f warm or cool?

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

Work with #af766f in the Color Lab