Skip to content

#78747f

a balanced, muted gray · neutral · closest name: Gray

RGB
120, 116, 127
HSL
262°, 5%, 48%
CMYK
6, 9, 0, 50
Luminance
0.1802

At a glance

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

Hex
#78747f
Hue
262°
gray
Saturation
5%
muted
Lightness
48%
balanced
Brightness
50%
HSV value
Perceived
46%
weighted brightness
Luminance
0.1802
WCAG relative
Temperature
Neutral
53/100 cool
Color family
Gray
Tone
Muted
Best ink
Black
4.60:1
Closest name
Gray
ΔE2000 7.8
Where it sits
Hue262° of 360°
Saturation5%
Lightness48%
Temperature
Warm ← → Cool53% cool

Near-neutral, so temperature is a whisper rather than a statement — the tinted siblings below show which way it can lean.

Every format

HEX#78747f
RGBrgb(120, 116, 127)
HSLhsl(262, 5%, 48%)
CMYKcmyk(6%, 9%, 0%, 50%)
LABlab(49.5 3.8 -5.5)
LCHlch(49.5 6.7 304.6)
OKLCHoklch(0.566 0.017 302.3)
Decimal7894143
Display P3color(display-p3 0.471 0.455 0.498)

Copy-ready code

/* CSS */
color: #78747f;
background-color: #78747f;
/* Tailwind (arbitrary) */
class="text-[#78747f] bg-[#78747f]"
/* SCSS */
$brand: #78747f;
/* SwiftUI */
Color(red: 0.471, green: 0.455, blue: 0.498)
/* Android */
Color.parseColor("#78747f")
/* Flutter */
Color(0xFF78747F)
/* Python / OpenCV (BGR) */
(127, 116, 120)

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 #78747f · 4.60:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 4.56:1
AA pass · AA large pass · AAA fail
Aa
Black text · 4.60:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #78747f as text scores 4.56:1 on white and 4.60:1 on black.

Accessibility — WCAG contrast

Aa
#78747f on white: 4.56:1
AA ✓ pass · AA-large · AAA
Aa
#78747f on black: 4.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #727680
deuteranopia · #73767F
tritanopia · #777577

Color scale — 50 to 950

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

#F7F7F8
#F0EFF0
#DDDDDF
#C6C4C9
#AAA7AF
#8D8A94
#78747f
#65616B
#514E55
#3D3B40
#262528
Base = 600Lightest = 50 · #F7F7F8Darkest = 950 · #262528
:root {
  --brand-50: #F7F7F8;
  --brand-100: #F0EFF0;
  --brand-200: #DDDDDF;
  --brand-300: #C6C4C9;
  --brand-400: #AAA7AF;
  --brand-500: #8D8A94;
  --brand-600: #78747f;
  --brand-700: #65616B;
  --brand-800: #514E55;
  --brand-900: #3D3B40;
  --brand-950: #262528;
  --brand: #78747f;
  --brand-ink: #000000;
}

Colors that work with #78747f

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#F7F7F8
Tinted page background
Border#D6D4D8
Hairlines and dividers
Muted text#716E78
Captions on the surface
Accent#81846F
Second voice, not a rival
Dark variant#3F3D43
Hover, pressed, headers
Light variant#F2F2F3
Selected rows, tints
Dark surface#1C1B1D
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 #78747f

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Text and icons on dark surfaces
  • Borders, dividers and quiet backgrounds
  • Long-form reading surfaces
  • Neutral UI chrome and typography
Use with care
  • 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#7B7F74
Analogous left#74757F
Analogous right#7D747F
Split-complement 1#7F7D74
Split-complement 2#757F74
Triadic 1#7F7874
Triadic 2#747F78
Tetradic#7F7475

RGB percentages

Red47.1%
Green45.5%
Blue49.8%

CMYK percentages

Cyan5.5%
Magenta8.7%
Yellow0.0%
Key (black)50.2%

Color previews

#78747f text on a black background

contrast 4.60:1

Card sample

#78747f text on a white background

contrast 4.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(120, 116, 127, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(120, 116, 127, 0.45);
Border & gradient
Gradient panel
border: 3px solid #78747f;
background: linear-gradient(135deg, #78747f, #7F747F);

Monochromatic scale

Palettes built from #78747f

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.

#78747f in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
EditorialArchitectureEnterpriseLuxury goods
Common UI roles
BackgroundsBordersBody textDividers
Print note

Converts to four-color process without much drama. Proof it anyway.

#78747f, answered

What color is #78747f?

#78747f is a balanced muted gray, closest to Gray (ΔE2000 7.8). It sits at 262° on the hue wheel with 5% saturation and 48% lightness, which reads as neutral.

What is the RGB value of #78747f?

rgb(120, 116, 127) — 120 red, 116 green and 127 blue out of 255, or 47.1% / 45.5% / 49.8% by channel.

Is #78747f a light or a dark color?

It is a mid-tone. Relative luminance is 0.1802 and perceived brightness is 46%, so black text on it reaches 4.60:1.

Should I use black or white text on #78747f?

Black. It scores 4.60:1 against #78747f, versus 4.56:1 for white — AA at any size.

What is the complementary color of #78747f?

#7B7F74 sits directly opposite on the wheel. Softer options are the split-complements #7F7D74 and #757F74, which give the same contrast with far less vibration.

What colors go well with #78747f?

For interface work: #F7F7F8 as the surface, #D6D4D8 for borders, #716E78 for secondary text, #81846F as an accent and #3F3D43 for hover and pressed states. For a palette, the analogous pair #74757F and #7D747F stays calm, while #7B7F74 is the loudest partner.

What is #78747f in CMYK for printing?

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

Is #78747f warm or cool?

Neutral — it scores 53 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #907C6D; nudged cooler, #647485.

Work with #78747f in the Color Lab