#8A8A8A#8A8A8A
#8A8A8A is a light, near-neutral grey. Relative luminance 0.254; OKLCH L 63.3% C 0.000 H 0.0°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #8A8A8A |
|---|---|
| RGB | rgb(138, 138, 138) |
| HSL | hsl(0, 0%, 54%) |
| HSV | hsv(0, 0%, 54%) |
| CMYK | cmyk(0%, 0%, 0%, 45.9%) |
| CIE-LAB | lab(57.48, 0.00, 0.00) |
| CIE-LCH | lch(57.48, 0.00, 0.00°) |
| OKLab | oklab(63.34% 0 0) |
| OKLCH | oklch(63.34% 0 0) |
| XYZ | xyz(24.1564, 25.4152, 27.6728) |
| Luminance | 0.2541 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Gray
#808080
ΔE00 3.66
Grey
#929591
ΔE00 4.60
Medium Grey
#7D7F7C
ΔE00 4.86
Pewter
#899397
ΔE00 5.38
Warm Grey
#978A84
ΔE00 6.52
Flint
#6F7A80
ΔE00 8.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8A8A #8A8A8A
analogous
#8A8A8A #8A8A8A #8A8A8A
triadic
#8A8A8A #8A8A8A #8A8A8A
tetradic
#8A8A8A #8A8A8A #8A8A8A #8A8A8A
square
#8A8A8A #8A8A8A #8A8A8A #8A8A8A
split-complementary
#8A8A8A #8A8A8A #8A8A8A
monochromatic
#4D4D4D #6B6B6B #8A8A8A #A9A9A9 #C7C7C7
Accessibility & contrast
On white
3.45
#8A8A8A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.08
#8A8A8A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A8A8A
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8A8A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8A8A | 1.00 | 3.45 | 6.08 | 6.08 |
| #FFFFFF | 3.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A8A8A
Deuteranopia (green-blind)
#8A8A8A
Tritanopia (blue-blind)
#8A8A8A
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #8a8a8a; /* rgb */ color: rgb(138, 138, 138); /* oklch */ color: oklch(63.3% 0.000 0.0);
Tailwind
colors: {
custom: {
50: '#acacac',
500: '#8a8a8a',
950: '#000000',
},
}SCSS
$custom: #8a8a8a; $custom-light: #acacac; $custom-dark: #000000;
JSON
{
"hex": "#8a8a8a",
"rgb": {
"r": 138,
"g": 138,
"b": 138
},
"hsl": {
"h": 0,
"s": 0,
"l": 54.118
},
"oklch": {
"l": 0.63343,
"c": 0,
"h": 0
},
"luminance": 0.25415
}Semantic roles & 50–950 ramp
primary
#8A8A8A
secondary
#B8B8B8
accent
#A9A97E
background
#FAFAFA
surface
#F4F4F4
border
#CECECE
text
#101010
muted
#7F7F7F