Skip to content

#af847c

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

RGB
175, 132, 124
HSL
9°, 24%, 59%
CMYK
0, 25, 29, 31
Luminance
0.2707

At a glance

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

Hex
#af847c
Hue
red
Saturation
24%
soft
Lightness
59%
balanced
Brightness
69%
HSV value
Perceived
57%
weighted brightness
Luminance
0.2707
WCAG relative
Temperature
Warm
23/100 cool
Color family
Red
Tone
Soft
Best ink
Black
6.41:1
Closest name
Rosy Brown
ΔE2000 5.3
Where it sits
Hue9° of 360°
Saturation24%
Lightness59%
Temperature
Warm ← → Cool23% 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#af847c
RGBrgb(175, 132, 124)
HSLhsl(9, 24%, 59%)
CMYKcmyk(0%, 25%, 29%, 31%)
LABlab(59.0 15.3 10.7)
LCHlch(59.0 18.7 35.0)
OKLCHoklch(0.653 0.055 30.6)
Decimal11502716
Display P3color(display-p3 0.686 0.518 0.486)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af847c on white: 3.27:1
AA ✗ fail · AA-large · AAA
Aa
#af847c on black: 6.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8D897B
deuteranopia · #97917C
tritanopia · #B97F82

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #af847c 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
#F3EEED
#E5D9D7
#D4BEB9
#BF9D96
#af847c
#98665D
#7F554D
#65443E
#4B3430
#2F201E
Base = 500Lightest = 50 · #F9F6F6Darkest = 950 · #2F201E
:root {
  --brand-50: #F9F6F6;
  --brand-100: #F3EEED;
  --brand-200: #E5D9D7;
  --brand-300: #D4BEB9;
  --brand-400: #BF9D96;
  --brand-500: #af847c;
  --brand-600: #98665D;
  --brand-700: #7F554D;
  --brand-800: #65443E;
  --brand-900: #4B3430;
  --brand-950: #2F201E;
  --brand: #af847c;
  --brand-ink: #000000;
}

Colors that work with #af847c

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#F9F6F5
Tinted page background
Border#E0CFCC
Hairlines and dividers
Muted text#8F6057
Captions on the surface
Accent#49837E
Second voice, not a rival
Dark variant#4F3530
Hover, pressed, headers
Light variant#F5F0EF
Selected rows, tints
Dark surface#231715
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 #af847c

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#7CA7AF
Analogous left#AF7C8D
Analogous right#AF9D7C
Split-complement 1#7CAF9D
Split-complement 2#7C8DAF
Triadic 1#7CAF84
Triadic 2#847CAF
Tetradic#8DAF7C

RGB percentages

Red68.6%
Green51.8%
Blue48.6%

CMYK percentages

Cyan0.0%
Magenta24.6%
Yellow29.1%
Key (black)31.4%

Color previews

#af847c text on a black background

contrast 6.41:1

Card sample

#af847c text on a white background

contrast 3.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af847c

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.

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

#af847c, answered

What color is #af847c?

#af847c is a balanced soft red, closest to Rosy Brown (ΔE2000 5.3). It sits at 9° on the hue wheel with 24% saturation and 59% lightness, which reads as warm.

What is the RGB value of #af847c?

rgb(175, 132, 124) — 175 red, 132 green and 124 blue out of 255, or 68.6% / 51.8% / 48.6% by channel.

Is #af847c a light or a dark color?

It is a mid-tone. Relative luminance is 0.2707 and perceived brightness is 57%, so black text on it reaches 6.41:1.

Should I use black or white text on #af847c?

Black. It scores 6.41:1 against #af847c, versus 3.27:1 for white — AA at any size.

What is the complementary color of #af847c?

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

What colors go well with #af847c?

For interface work: #F9F6F5 as the surface, #E0CFCC for borders, #8F6057 for secondary text, #49837E as an accent and #4F3530 for hover and pressed states. For a palette, the analogous pair #AF7C8D and #AF9D7C stays calm, while #7CA7AF is the loudest partner.

What is #af847c in CMYK for printing?

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

Is #af847c warm or cool?

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

Work with #af847c in the Color Lab