#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
RGBrgb(138, 130, 138)
HSLhsl(300, 3%, 53%)
HSVhsv(300, 6%, 54%)
CMYKcmyk(0%, 5.8%, 0%, 45.9%)
CIE-LABlab(55.28, 4.56, -3.22)
CIE-LCHlch(55.28, 5.58, 324.75°)
OKLaboklab(61.62% 0.0125 -0.0085)
OKLCHoklch(61.62% 0.015 325.8)
XYZxyz(23.0506, 23.2037, 27.3043)
Luminance0.2320 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

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
##8A828A1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.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

Preview Lab

Preview with #8A828A

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#8A828A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva