#8A7E82#8A7E82

#8A7E82 is a mid, near-neutral grey. Relative luminance 0.219; OKLCH L 60.5% C 0.016 H 355.3°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#8A7E82
RGBrgb(138, 126, 130)
HSLhsl(340, 5%, 52%)
HSVhsv(340, 9%, 54%)
CMYKcmyk(0%, 8.7%, 5.8%, 45.9%)
CIE-LABlab(53.96, 5.31, -0.51)
CIE-LCHlch(53.96, 5.33, 354.48°)
OKLaboklab(60.51% 0.0157 -0.0013)
OKLCHoklch(60.51% 0.016 355.3)
XYZxyz(21.9709, 21.9370, 24.1916)
Luminance0.2194 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7E82 #7E8A86
analogous
#8A7E88 #8A7E82 #8A807E
triadic
#8A7E82 #828A7E #7E828A
tetradic
#8A7E82 #888A7E #7E8A86 #807E8A
square
#8A7E82 #888A7E #7E8A86 #807E8A
split-complementary
#8A7E82 #7E8A80 #7E888A
monochromatic
#4A4346 #6A6064 #8A7E82 #A79EA1 #C4BEC0

Accessibility & contrast

On white

3.90
#8A7E82 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#8A7E82 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7E82
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7E82#FFFFFF#000000##000000
##8A7E821.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8082
Deuteranopia (green-blind)
#828282
Tritanopia (blue-blind)
#8C7E7F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a7e82;
/* rgb */ color: rgb(138, 126, 130);
/* oklch */ color: oklch(60.5% 0.016 355.3);
Tailwind
colors: {
  custom: {
    50: '#aca3a6',
    500: '#8a7e82',
    950: '#000000',
  },
}
SCSS
$custom: #8a7e82;
$custom-light: #aca3a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7e82",
  "rgb": {
    "r": 138,
    "g": 126,
    "b": 130
  },
  "hsl": {
    "h": 340,
    "s": 4.878,
    "l": 51.765
  },
  "oklch": {
    "l": 0.60511,
    "c": 0.01571,
    "h": 355.3
  },
  "luminance": 0.21937
}

Semantic roles & 50–950 ramp

primary
#8A7E82
secondary
#AFB5B3
accent
#AE9D7A
background
#FAFAFA
surface
#F4F3F4
border
#CECDCE
text
#100F0F
muted
#7F7F7F

Preview Lab

Preview with #8A7E82

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

Preview Lab → · Contrast checker → · Palette generator →

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