#8A828A#8A828A
#8A828A is a mid, near-neutral grey. Relative luminance 0.232; OKLCH L 61.6% C 0.015 H 325.8°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #8A828A |
|---|---|
| RGB | rgb(138, 130, 138) |
| HSL | hsl(300, 3%, 53%) |
| HSV | hsv(300, 6%, 54%) |
| CMYK | cmyk(0%, 5.8%, 0%, 45.9%) |
| CIE-LAB | lab(55.28, 4.56, -3.22) |
| CIE-LCH | lch(55.28, 5.58, 324.75°) |
| OKLab | oklab(61.62% 0.0125 -0.0085) |
| OKLCH | oklch(61.62% 0.015 325.8) |
| XYZ | xyz(23.0506, 23.2037, 27.3043) |
| Luminance | 0.2320 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Gray
#808080
ΔE00 6.66
Warm Grey
#978A84
ΔE00 7.85
Purpley Grey
#947E94
ΔE00 7.97
Medium Grey
#7D7F7C
ΔE00 9.46
Purple Grey
#866F85
ΔE00 10.04
Pewter
#899397
ΔE00 11.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A828A #828A82
analogous
#86828A #8A828A #8A8286
triadic
#8A828A #8A8A82 #828A8A
tetradic
#8A828A #8A8682 #828A82 #82868A
square
#8A828A #8A8682 #828A82 #82868A
split-complementary
#8A828A #868A82 #828A86
monochromatic
#4B464B #6B646B #8A828A #A8A2A8 #C5C1C5
Accessibility & contrast
On white
3.72
#8A828A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.64
#8A828A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A828A
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A828A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A828A | 1.00 | 3.72 | 5.64 | 5.64 |
| #FFFFFF | 3.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#82848A
Deuteranopia (green-blind)
#83858A
Tritanopia (blue-blind)
#8B8385
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #8a828a; /* rgb */ color: rgb(138, 130, 138); /* oklch */ color: oklch(61.6% 0.015 325.8);
Tailwind
colors: {
custom: {
50: '#aca6ac',
500: '#8a828a',
950: '#000000',
},
}SCSS
$custom: #8a828a; $custom-light: #aca6ac; $custom-dark: #000000;
JSON
{
"hex": "#8a828a",
"rgb": {
"r": 138,
"g": 130,
"b": 138
},
"hsl": {
"h": 300,
"s": 3.306,
"l": 52.549
},
"oklch": {
"l": 0.61621,
"c": 0.01516,
"h": 325.8
},
"luminance": 0.23204
}Semantic roles & 50–950 ramp
primary
#8A828A
secondary
#B2B6B2
accent
#AD7B7B
background
#FAFAFA
surface
#F4F4F4
border
#CECECE
text
#100F10
muted
#7F7F7F