#8A828C#8A828C

#8A828C is a mid, near-neutral grey. Relative luminance 0.233; OKLCH L 61.7% C 0.018 H 319.4°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8A828C
RGBrgb(138, 130, 140)
HSLhsl(288, 4%, 53%)
HSVhsv(288, 7%, 55%)
CMYKcmyk(1.4%, 7.1%, 0%, 45.1%)
CIE-LABlab(55.34, 4.96, -4.29)
CIE-LCHlch(55.34, 6.56, 319.11°)
OKLaboklab(61.69% 0.0133 -0.0114)
OKLCHoklch(61.69% 0.018 319.4)
XYZxyz(23.1967, 23.2621, 28.0739)
Luminance0.2326 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A828C #848C82
analogous
#85828C #8A828C #8C8289
triadic
#8A828C #8C8A82 #828C8A
tetradic
#8A828C #8C8582 #848C82 #82898C
square
#8A828C #8C8582 #848C82 #82898C
split-complementary
#8A828C #898C82 #828C85
monochromatic
#4C474D #6B646D #8A828C #A8A2A9 #C6C2C7

Accessibility & contrast

On white

3.72
#8A828C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#8A828C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A828C
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A828C#FFFFFF#000000##000000
##8A828C1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#81848C
Deuteranopia (green-blind)
#83858C
Tritanopia (blue-blind)
#8A8385
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a828c;
/* rgb */ color: rgb(138, 130, 140);
/* oklch */ color: oklch(61.7% 0.018 319.4);
Tailwind
colors: {
  custom: {
    50: '#aca6ad',
    500: '#8a828c',
    950: '#000000',
  },
}
SCSS
$custom: #8a828c;
$custom-light: #aca6ad;
$custom-dark: #000000;
JSON
{
  "hex": "#8a828c",
  "rgb": {
    "r": 138,
    "g": 130,
    "b": 140
  },
  "hsl": {
    "h": 288,
    "s": 4.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.61688,
    "c": 0.01755,
    "h": 319.4
  },
  "luminance": 0.23262
}

Semantic roles & 50–950 ramp

primary
#8A828C
secondary
#B4B7B3
accent
#AD7A85
background
#FAFAFA
surface
#F4F4F4
border
#CECECE
text
#100F10
muted
#7F7F7F

Preview Lab

Preview with #8A828C

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

Preview Lab → · Contrast checker → · Palette generator →

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