Skip to content

#af7f77

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

RGB
175, 127, 119
HSL
9°, 26%, 58%
CMYK
0, 27, 32, 31
Luminance
0.2562

At a glance

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

Hex
#af7f77
Hue
red
Saturation
26%
soft
Lightness
58%
balanced
Brightness
69%
HSV value
Perceived
56%
weighted brightness
Luminance
0.2562
WCAG relative
Temperature
Warm
22/100 cool
Color family
Red
Tone
Soft
Best ink
Black
6.12:1
Closest name
Rosy Brown
ΔE2000 6.3
Where it sits
Hue9° of 360°
Saturation26%
Lightness58%
Temperature
Warm ← → Cool22% 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#af7f77
RGBrgb(175, 127, 119)
HSLhsl(9, 26%, 58%)
CMYKcmyk(0%, 27%, 32%, 31%)
LABlab(57.7 17.5 11.7)
LCHlch(57.7 21.0 33.8)
OKLCHoklch(0.642 0.061 29.5)
Decimal11501431
Display P3color(display-p3 0.686 0.498 0.467)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af7f77 on white: 3.43:1
AA ✗ fail · AA-large · AAA
Aa
#af7f77 on black: 6.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #898576
deuteranopia · #948E76
tritanopia · #BA797D

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #af7f77 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
#E5D8D6
#D5BDB8
#C19B95
#af7f77
#9A645B
#80534C
#67433C
#4C332F
#2F201D
Base = 500Lightest = 50 · #F9F6F6Darkest = 950 · #2F201D
:root {
  --brand-50: #F9F6F6;
  --brand-100: #F3EDED;
  --brand-200: #E5D8D6;
  --brand-300: #D5BDB8;
  --brand-400: #C19B95;
  --brand-500: #af7f77;
  --brand-600: #9A645B;
  --brand-700: #80534C;
  --brand-800: #67433C;
  --brand-900: #4C332F;
  --brand-950: #2F201D;
  --brand: #af7f77;
  --brand-ink: #000000;
}

Colors that work with #af7f77

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#E1CFCC
Hairlines and dividers
Muted text#905E55
Captions on the surface
Accent#48847E
Second voice, not a rival
Dark variant#50342F
Hover, pressed, headers
Light variant#F6F0EF
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 #af7f77

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#77A7AF
Analogous left#AF778B
Analogous right#AF9B77
Split-complement 1#77AF9B
Split-complement 2#778BAF
Triadic 1#77AF7F
Triadic 2#7F77AF
Tetradic#8BAF77

RGB percentages

Red68.6%
Green49.8%
Blue46.7%

CMYK percentages

Cyan0.0%
Magenta27.4%
Yellow32.0%
Key (black)31.4%

Color previews

#af7f77 text on a black background

contrast 6.12:1

Card sample

#af7f77 text on a white background

contrast 3.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af7f77

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.

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

#af7f77, answered

What color is #af7f77?

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

What is the RGB value of #af7f77?

rgb(175, 127, 119) — 175 red, 127 green and 119 blue out of 255, or 68.6% / 49.8% / 46.7% by channel.

Is #af7f77 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2562 and perceived brightness is 56%, so black text on it reaches 6.12:1.

Should I use black or white text on #af7f77?

Black. It scores 6.12:1 against #af7f77, versus 3.43:1 for white — AA at any size.

What is the complementary color of #af7f77?

#77A7AF sits directly opposite on the wheel. Softer options are the split-complements #77AF9B and #778BAF, which give the same contrast with far less vibration.

What colors go well with #af7f77?

For interface work: #F9F6F5 as the surface, #E1CFCC for borders, #905E55 for secondary text, #48847E as an accent and #50342F for hover and pressed states. For a palette, the analogous pair #AF778B and #AF9B77 stays calm, while #77A7AF is the loudest partner.

What is #af7f77 in CMYK for printing?

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

Is #af7f77 warm or cool?

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

Work with #af7f77 in the Color Lab