Skip to content

#af787b

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

RGB
175, 120, 123
HSL
357°, 26%, 58%
CMYK
0, 31, 30, 31
Luminance
0.2398

At a glance

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

Hex
#af787b
Hue
357°
red
Saturation
26%
soft
Lightness
58%
balanced
Brightness
69%
HSV value
Perceived
55%
weighted brightness
Luminance
0.2398
WCAG relative
Temperature
Warm
27/100 cool
Color family
Red
Tone
Soft
Best ink
Black
5.80:1
Closest name
Rosy Brown
ΔE2000 7.3
Where it sits
Hue357° of 360°
Saturation26%
Lightness58%
Temperature
Warm ← → Cool27% 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#af787b
RGBrgb(175, 120, 123)
HSLhsl(357, 26%, 58%)
CMYKcmyk(0%, 31%, 30%, 31%)
LABlab(56.1 21.9 7.1)
LCHlch(56.1 23.1 17.9)
OKLCHoklch(0.630 0.069 15.6)
Decimal11499643
Display P3color(display-p3 0.686 0.471 0.482)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af787b on white: 3.62:1
AA ✗ fail · AA-large · AAA
Aa
#af787b on black: 5.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #82807B
deuteranopia · #8F8A7A
tritanopia · #BA7379

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #af787b 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
#F3EDED
#E5D6D7
#D5B9BA
#C09598
#af787b
#9A5B5F
#804C4F
#663D3F
#4C2F30
#2F1D1E
Base = 500Lightest = 50 · #F9F6F6Darkest = 950 · #2F1D1E
:root {
  --brand-50: #F9F6F6;
  --brand-100: #F3EDED;
  --brand-200: #E5D6D7;
  --brand-300: #D5B9BA;
  --brand-400: #C09598;
  --brand-500: #af787b;
  --brand-600: #9A5B5F;
  --brand-700: #804C4F;
  --brand-800: #663D3F;
  --brand-900: #4C2F30;
  --brand-950: #2F1D1E;
  --brand: #af787b;
  --brand-ink: #000000;
}

Colors that work with #af787b

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#F9F5F6
Tinted page background
Border#E1CCCD
Hairlines and dividers
Muted text#905559
Captions on the surface
Accent#488472
Second voice, not a rival
Dark variant#502F31
Hover, pressed, headers
Light variant#F6EFEF
Selected rows, tints
Dark surface#231516
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 #af787b

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#78AFAC
Analogous left#AF7896
Analogous right#AF9078
Split-complement 1#78AF90
Split-complement 2#7896AF
Triadic 1#7BAF78
Triadic 2#787BAF
Tetradic#96AF78

RGB percentages

Red68.6%
Green47.1%
Blue48.2%

CMYK percentages

Cyan0.0%
Magenta31.4%
Yellow29.7%
Key (black)31.4%

Color previews

#af787b text on a black background

contrast 5.80:1

Card sample

#af787b text on a white background

contrast 3.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af787b

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.

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

#af787b, answered

What color is #af787b?

#af787b is a balanced soft red, closest to Rosy Brown (ΔE2000 7.3). It sits at 357° on the hue wheel with 26% saturation and 58% lightness, which reads as warm.

What is the RGB value of #af787b?

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

Is #af787b a light or a dark color?

It is a mid-tone. Relative luminance is 0.2398 and perceived brightness is 55%, so black text on it reaches 5.80:1.

Should I use black or white text on #af787b?

Black. It scores 5.80:1 against #af787b, versus 3.62:1 for white — AA at any size.

What is the complementary color of #af787b?

#78AFAC sits directly opposite on the wheel. Softer options are the split-complements #78AF90 and #7896AF, which give the same contrast with far less vibration.

What colors go well with #af787b?

For interface work: #F9F5F6 as the surface, #E1CCCD for borders, #905559 for secondary text, #488472 as an accent and #502F31 for hover and pressed states. For a palette, the analogous pair #AF7896 and #AF9078 stays calm, while #78AFAC is the loudest partner.

What is #af787b in CMYK for printing?

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

Is #af787b warm or cool?

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

Work with #af787b in the Color Lab