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
- 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
| RGB | 138 | 143 | 148 | |
|---|---|---|---|---|
| HSL | 210° | 4% | 56% | |
| HSV | 210° | 7% | 58% | |
| CMYK | 0.07 | 0.03 | 0.00 | 0.42 |
| XYZ | 25.6479 | 27.1861 | 31.9075 | |
| Yxy | 27.1861 | 0.3027 | 0.3208 | |
| CIE-Lab | 59.1462 | -0.8029 | -3.2812 | |
| Hunter Lab | 52.1403 | -3.4410 | 0.2155 | |
| OKLCH | 64.7% | 0.009 | 248.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 | Red | Green | Blue |
|---|---|---|---|
| Binary | 10001010 | 10001111 | 10010100 |
| Octal | 212 | 217 | 224 |
| Decimal | 138 | 143 | 148 |
| Hex | 8A | 8F | 94 |
#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
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.
No pewter palettes yet
Run npm run generate to build the dataset.