Add to Chrome

Pewter color: hex codes, shades and palettes

Palettes built around pewter. Click any swatch to copy its hex code.

A mid grey with a slight blue-green cast, named after the alloy. Neutral enough for interface chrome without reading as pure grey.

Pewter hex, RGB, HSL and OKLCH

#8A8F94
HEX
#8A8F94
RGB
rgb(138, 143, 148)
HSL
hsl(210, 4%, 56%)
OKLCH
oklch(64.7% 0.009 248.0)
On white
3.26:1
On black
6.44:1

Shades of pewter

9 steps from one base color, generated in OKLCH so each step is an equal perceived step rather than an equal numeric one. Click a swatch to copy it.

Pewter color values

#8A8F94rgb(138, 143, 148)
Color spaces of #8a8f94
RGB138143148
HSL210°4%56%
HSV210°7%58%
CMYK0.070.030.000.42
XYZ25.647927.186131.9075
Yxy27.18610.30270.3208
CIE-Lab59.1462-0.8029-3.2812
Hunter Lab52.1403-3.44100.2155
OKLCH64.7%0.009248.0°

#8A8F94 is 138 red, 143 green and 148 blue. No single channel dominates it. The nearest of the 216 web safe colors is #999999.

CIE-Lab, XYZ and Yxy are measured against D65, the white point sRGB itself is defined against. Hunter Lab uses the original illuminant C constants, which is what paint and plastics specifications quote, so the two Lab rows are not directly comparable. CMYK is the plain arithmetic conversion: real ink values depend on the press, the paper and the profile.

Base numbers
BaseRedGreenBlue
Binary100010101000111110010100
Octal212217224
Decimal138143148
Hex8A8F94

#8a8f94 mixed with black

Ten even steps of the classic shade ramp, worked out in RGB, which is how the term has always been defined and how other references list it. The OKLCH scale further down this page answers a different question: it steps by equal perceived amounts, so its values are not the same.

  • #8A8F94
  • #7C8085
  • #6E7276
  • #606467
  • #525558
  • #45474A
  • #37393B
  • #292A2C
  • #1B1C1D
  • #0D0E0E
  • #000000

#8a8f94 mixed with white

The tint ramp, by the same rule in the other direction.

  • #8A8F94
  • #959A9E
  • #A1A5A9
  • #ADB0B4
  • #B8BBBE
  • #C4C7C9
  • #D0D2D4
  • #DBDDDE
  • #E7E8E9
  • #F3F3F4
  • #FFFFFF

Channel shares

  • Red32.2%
  • Green33.3%
  • Blue34.5%

Color schemes

Turned in OKLCH rather than HSL, so every member keeps the lightness and chroma of the original instead of one of them arriving washed out.

Complementary

  • #8A8F94
  • #928D88

Triadic

  • #8A8F94
  • #948C8D
  • #8D9089

Analogous

  • #8A8F94
  • #8D8E94
  • #889092

Monochromatic

  • #272B2F
  • #464A4F
  • #676C70
  • #8A8F94
  • #AFB4B9
  • #D5DBE0
  • #F4F9FF

#8a8f94 on black and on white

The quick brown fox jumps over the lazy dog. 6.44:1

The quick brown fox jumps over the lazy dog. 3.26:1

Body text needs 4.5:1 to meet AA and large text needs 3:1, so a ratio tells you which of the two backgrounds this color can be read on, and at what size.

CSS for #8a8f94

color: #8a8f94;
background-color: #8a8f94;
border: 3px solid #8a8f94;
box-shadow: 1px 1px 3px 2px #8a8f94;
text-shadow: 4px 4px 2px rgba(138, 143, 148, 0.8);

/* Perceptually even, and what a modern stylesheet wants */
color: oklch(64.7% 0.009 248.0);

The OKLCH form is the same color stated so that lightening or darkening it moves by an amount the eye agrees with. Every current browser understands it.

Contrast and readability

Pewter on white measures 3.26:1 and on black 6.44:1. WCAG AA asks for 4.5:1 on normal text and 3:1 on large text and UI components, so the higher of those two decides which background it belongs on. In the scale above, 500 is the first to clear 4.5:1 on white, at 5.29:1.

The contrast checker reports every level for a given pair and suggests the nearest passing shade on the same hue. The color picker builds this same scale from any color you paste in.

Related colors: gray, silver, slate. See every shade on the colors index.

Get Palette Vault from the Microsoft Store