Skip to content

#af8c8b

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

RGB
175, 140, 139
HSL
2°, 18%, 62%
CMYK
0, 20, 21, 31
Luminance
0.2973

At a glance

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

Hex
#af8c8b
Hue
red
Saturation
18%
soft
Lightness
62%
balanced
Brightness
69%
HSV value
Perceived
59%
weighted brightness
Luminance
0.2973
WCAG relative
Temperature
Warm
32/100 cool
Color family
Red
Tone
Soft
Best ink
Black
6.95:1
Closest name
Rosy Brown
ΔE2000 3.4
Where it sits
Hue2° of 360°
Saturation18%
Lightness62%
Temperature
Warm ← → Cool32% 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#af8c8b
RGBrgb(175, 140, 139)
HSLhsl(2, 18%, 62%)
CMYKcmyk(0%, 20%, 21%, 31%)
LABlab(61.4 13.1 5.6)
LCHlch(61.4 14.2 23.1)
OKLCHoklch(0.672 0.043 20.2)
Decimal11504779
Display P3color(display-p3 0.686 0.549 0.545)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af8c8b on white: 3.02:1
AA ✗ fail · AA-large · AAA
Aa
#af8c8b on black: 6.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #92908B
deuteranopia · #9A978B
tritanopia · #B7898C

Color scale — 50 to 950

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

#F8F6F6
#F2EEEE
#E3D9D8
#D1BDBD
#af8c8b
#A37B7A
#916564
#795453
#614343
#483333
#2D2020
Base = 400Lightest = 50 · #F8F6F6Darkest = 950 · #2D2020
:root {
  --brand-50: #F8F6F6;
  --brand-100: #F2EEEE;
  --brand-200: #E3D9D8;
  --brand-300: #D1BDBD;
  --brand-400: #af8c8b;
  --brand-500: #A37B7A;
  --brand-600: #916564;
  --brand-700: #795453;
  --brand-800: #614343;
  --brand-900: #483333;
  --brand-950: #2D2020;
  --brand: #af8c8b;
  --brand-ink: #000000;
}

Colors that work with #af8c8b

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#F9F6F6
Tinted page background
Border#DECFCF
Hairlines and dividers
Muted text#885F5E
Captions on the surface
Accent#4F7D72
Second voice, not a rival
Dark variant#4B3534
Hover, pressed, headers
Light variant#F5F0F0
Selected rows, tints
Dark surface#211717
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 #af8c8b

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#8BAEAF
Analogous left#AF8B9C
Analogous right#AF9E8B
Split-complement 1#8BAF9E
Split-complement 2#8B9CAF
Triadic 1#8BAF8C
Triadic 2#8C8BAF
Tetradic#9CAF8B

RGB percentages

Red68.6%
Green54.9%
Blue54.5%

CMYK percentages

Cyan0.0%
Magenta20.0%
Yellow20.6%
Key (black)31.4%

Color previews

#af8c8b text on a black background

contrast 6.95:1

Card sample

#af8c8b text on a white background

contrast 3.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af8c8b

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.

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

#af8c8b, answered

What color is #af8c8b?

#af8c8b is a balanced soft red, closest to Rosy Brown (ΔE2000 3.4). It sits at 2° on the hue wheel with 18% saturation and 62% lightness, which reads as warm.

What is the RGB value of #af8c8b?

rgb(175, 140, 139) — 175 red, 140 green and 139 blue out of 255, or 68.6% / 54.9% / 54.5% by channel.

Is #af8c8b a light or a dark color?

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

Should I use black or white text on #af8c8b?

Black. It scores 6.95:1 against #af8c8b, versus 3.02:1 for white — AA at any size.

What is the complementary color of #af8c8b?

#8BAEAF sits directly opposite on the wheel. Softer options are the split-complements #8BAF9E and #8B9CAF, which give the same contrast with far less vibration.

What colors go well with #af8c8b?

For interface work: #F9F6F6 as the surface, #DECFCF for borders, #885F5E for secondary text, #4F7D72 as an accent and #4B3534 for hover and pressed states. For a palette, the analogous pair #AF8B9C and #AF9E8B stays calm, while #8BAEAF is the loudest partner.

What is #af8c8b in CMYK for printing?

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

Is #af8c8b warm or cool?

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

Work with #af8c8b in the Color Lab