#8A7D82#8A7D82

#8A7D82 is a mid, near-neutral grey. Relative luminance 0.217; OKLCH L 60.3% C 0.017 H 352.3°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#8A7D82
RGBrgb(138, 125, 130)
HSLhsl(337, 5%, 52%)
HSVhsv(337, 9%, 54%)
CMYKcmyk(0%, 9.4%, 5.8%, 45.9%)
CIE-LABlab(53.69, 5.88, -0.91)
CIE-LCHlch(53.69, 5.95, 351.21°)
OKLaboklab(60.3% 0.0173 -0.0023)
OKLCHoklch(60.3% 0.017 352.3)
XYZxyz(21.8437, 21.6825, 24.1492)
Luminance0.2168 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7D82 #7D8A85
analogous
#8A7D89 #8A7D82 #8A7F7D
triadic
#8A7D82 #828A7D #7D828A
tetradic
#8A7D82 #898A7D #7D8A85 #7F7D8A
square
#8A7D82 #898A7D #7D8A85 #7F7D8A
split-complementary
#8A7D82 #7D8A7F #7D898A
monochromatic
#4A4345 #6A6064 #8A7D82 #A79DA1 #C4BDC0

Accessibility & contrast

On white

3.94
#8A7D82 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#8A7D82 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7D82
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7D82#FFFFFF#000000##000000
##8A7D821.003.945.345.34
#FFFFFF3.941.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E7F82
Deuteranopia (green-blind)
#818182
Tritanopia (blue-blind)
#8C7D7F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a7d82;
/* rgb */ color: rgb(138, 125, 130);
/* oklch */ color: oklch(60.3% 0.017 352.3);
Tailwind
colors: {
  custom: {
    50: '#aca2a6',
    500: '#8a7d82',
    950: '#000000',
  },
}
SCSS
$custom: #8a7d82;
$custom-light: #aca2a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7d82",
  "rgb": {
    "r": 138,
    "g": 125,
    "b": 130
  },
  "hsl": {
    "h": 336.923,
    "s": 5.263,
    "l": 51.569
  },
  "oklch": {
    "l": 0.60299,
    "c": 0.01743,
    "h": 352.3
  },
  "luminance": 0.21682
}

Semantic roles & 50–950 ramp

primary
#8A7D82
secondary
#AFB4B2
accent
#AE9A79
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#100F0F
muted
#7F7E7F

Preview Lab

Preview with #8A7D82

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

Preview Lab → · Contrast checker → · Palette generator →

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