Skip to content

#8c8c8c

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

RGB
140, 140, 140
HSL
0°, 0%, 55%
CMYK
0, 0, 0, 45
Luminance
0.2623

At a glance

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

Hex
#8c8c8c
Hue
gray
Saturation
0%
muted
Lightness
55%
balanced
Brightness
55%
HSV value
Perceived
55%
weighted brightness
Luminance
0.2623
WCAG relative
Temperature
Neutral
50/100 cool
Color family
Gray
Tone
Muted
Best ink
Black
6.25:1
Closest name
Gray
ΔE2000 4.4
Where it sits
Hue0° of 360°
Saturation0%
Lightness55%
Temperature
Warm ← → Cool50% 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#8c8c8c
RGBrgb(140, 140, 140)
HSLhsl(0, 0%, 55%)
CMYKcmyk(0%, 0%, 0%, 45%)
LABlab(58.3 0.0 0.0)
LCHlch(58.3 0.0 180.0)
OKLCHoklch(0.640 0.000 89.9)
Decimal9211020
Display P3color(display-p3 0.549 0.549 0.549)

Copy-ready code

/* CSS */
color: #8c8c8c;
background-color: #8c8c8c;
/* Tailwind (arbitrary) */
class="text-[#8c8c8c] bg-[#8c8c8c]"
/* SCSS */
$brand: #8c8c8c;
/* SwiftUI */
Color(red: 0.549, green: 0.549, blue: 0.549)
/* Android */
Color.parseColor("#8c8c8c")
/* Flutter */
Color(0xFF8C8C8C)
/* Python / OpenCV (BGR) */
(140, 140, 140)

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

Accessibility — WCAG contrast

Aa
#8c8c8c on white: 3.36:1
AA ✗ fail · AA-large · AAA
Aa
#8c8c8c on black: 6.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8C8C8C
deuteranopia · #8C8C8C
tritanopia · #8C8C8C

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #8c8c8c 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.

#F7F7F7
#F0F0F0
#DEDEDE
#C7C7C7
#ABABAB
#8c8c8c
#7A7A7A
#666666
#525252
#3D3D3D
#262626
Base = 500Lightest = 50 · #F7F7F7Darkest = 950 · #262626
:root {
  --brand-50: #F7F7F7;
  --brand-100: #F0F0F0;
  --brand-200: #DEDEDE;
  --brand-300: #C7C7C7;
  --brand-400: #ABABAB;
  --brand-500: #8c8c8c;
  --brand-600: #7A7A7A;
  --brand-700: #666666;
  --brand-800: #525252;
  --brand-900: #3D3D3D;
  --brand-950: #262626;
  --brand: #8c8c8c;
  --brand-ink: #000000;
}

Colors that work with #8c8c8c

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#F7F7F7
Tinted page background
Border#D6D6D6
Hairlines and dividers
Muted text#737373
Captions on the surface
Accent#87918E
Second voice, not a rival
Dark variant#404040
Hover, pressed, headers
Light variant#F2F2F2
Selected rows, tints
Dark surface#1C1C1C
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 #8c8c8c

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
  • Borders, dividers and quiet backgrounds
  • Long-form reading surfaces
  • Neutral UI chrome and typography
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#8C8C8C
Analogous left#8C8C8C
Analogous right#8C8C8C
Split-complement 1#8C8C8C
Split-complement 2#8C8C8C
Triadic 1#8C8C8C
Triadic 2#8C8C8C
Tetradic#8C8C8C

RGB percentages

Red54.9%
Green54.9%
Blue54.9%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow0.0%
Key (black)45.1%

Color previews

#8c8c8c text on a black background

contrast 6.25:1

Card sample

#8c8c8c text on a white background

contrast 3.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8c8c8c

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.

#8c8c8c 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.

#8c8c8c, answered

What color is #8c8c8c?

#8c8c8c is a balanced muted gray, closest to Gray (ΔE2000 4.4). It sits at 0° on the hue wheel with 0% saturation and 55% lightness, which reads as neutral.

What is the RGB value of #8c8c8c?

rgb(140, 140, 140) — 140 red, 140 green and 140 blue out of 255, or 54.9% / 54.9% / 54.9% by channel.

Is #8c8c8c a light or a dark color?

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

Should I use black or white text on #8c8c8c?

Black. It scores 6.25:1 against #8c8c8c, versus 3.36:1 for white — AA at any size.

What is the complementary color of #8c8c8c?

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

What colors go well with #8c8c8c?

For interface work: #F7F7F7 as the surface, #D6D6D6 for borders, #737373 for secondary text, #87918E as an accent and #404040 for hover and pressed states. For a palette, the analogous pair #8C8C8C and #8C8C8C stays calm, while #8C8C8C is the loudest partner.

What is #8c8c8c in CMYK for printing?

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

Is #8c8c8c warm or cool?

Neutral — it scores 50 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #A08F82; nudged cooler, #768698.

Work with #8c8c8c in the Color Lab