Skip to content

#af8f8f

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

RGB
175, 143, 143
HSL
0°, 17%, 62%
CMYK
0, 18, 18, 31
Luminance
0.3074

At a glance

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

Hex
#af8f8f
Hue
red
Saturation
17%
soft
Lightness
62%
balanced
Brightness
69%
HSV value
Perceived
60%
weighted brightness
Luminance
0.3074
WCAG relative
Temperature
Warm
34/100 cool
Color family
Red
Tone
Soft
Best ink
Black
7.15:1
Closest name
Rosy Brown
ΔE2000 3.9
Where it sits
Hue0° of 360°
Saturation17%
Lightness62%
Temperature
Warm ← → Cool34% 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#af8f8f
RGBrgb(175, 143, 143)
HSLhsl(0, 17%, 62%)
CMYKcmyk(0%, 18%, 18%, 31%)
LABlab(62.3 12.0 4.5)
LCHlch(62.3 12.9 20.7)
OKLCHoklch(0.679 0.039 18.1)
Decimal11505551
Display P3color(display-p3 0.686 0.561 0.561)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af8f8f on white: 2.94:1
AA ✗ fail · AA-large · AAA
Aa
#af8f8f on black: 7.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #94938F
deuteranopia · #9C998F
tritanopia · #B68C8F

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #af8f8f 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
#E3D9D9
#D0BEBE
#af8f8f
#A27C7C
#8F6666
#775555
#5F4444
#473434
#2C2020
Base = 400Lightest = 50 · #F8F6F6Darkest = 950 · #2C2020
:root {
  --brand-50: #F8F6F6;
  --brand-100: #F2EEEE;
  --brand-200: #E3D9D9;
  --brand-300: #D0BEBE;
  --brand-400: #af8f8f;
  --brand-500: #A27C7C;
  --brand-600: #8F6666;
  --brand-700: #775555;
  --brand-800: #5F4444;
  --brand-900: #473434;
  --brand-950: #2C2020;
  --brand: #af8f8f;
  --brand-ink: #000000;
}

Colors that work with #af8f8f

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#DDCFCF
Hairlines and dividers
Muted text#866060
Captions on the surface
Accent#517B71
Second voice, not a rival
Dark variant#4A3535
Hover, pressed, headers
Light variant#F4F0F0
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 #af8f8f

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#8FAFAF
Analogous left#AF8F9F
Analogous right#AF9F8F
Split-complement 1#8FAF9F
Split-complement 2#8F9FAF
Triadic 1#8FAF8F
Triadic 2#8F8FAF
Tetradic#9FAF8F

RGB percentages

Red68.6%
Green56.1%
Blue56.1%

CMYK percentages

Cyan0.0%
Magenta18.3%
Yellow18.3%
Key (black)31.4%

Color previews

#af8f8f text on a black background

contrast 7.15:1

Card sample

#af8f8f text on a white background

contrast 2.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af8f8f

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.

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

#af8f8f, answered

What color is #af8f8f?

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

What is the RGB value of #af8f8f?

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

Is #af8f8f a light or a dark color?

It is a mid-tone. Relative luminance is 0.3074 and perceived brightness is 60%, so black text on it reaches 7.15:1.

Should I use black or white text on #af8f8f?

Black. It scores 7.15:1 against #af8f8f, versus 2.94:1 for white — AAA at any size.

What is the complementary color of #af8f8f?

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

What colors go well with #af8f8f?

For interface work: #F9F6F6 as the surface, #DDCFCF for borders, #866060 for secondary text, #517B71 as an accent and #4A3535 for hover and pressed states. For a palette, the analogous pair #AF8F9F and #AF9F8F stays calm, while #8FAFAF is the loudest partner.

What is #af8f8f in CMYK for printing?

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

Is #af8f8f warm or cool?

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

Work with #af8f8f in the Color Lab