#8A7C82#8A7C82

#8A7C82 is a mid, near-neutral grey. Relative luminance 0.214; OKLCH L 60.1% C 0.019 H 349.9°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#8A7C82
RGBrgb(138, 124, 130)
HSLhsl(334, 6%, 51%)
HSVhsv(334, 10%, 54%)
CMYKcmyk(0%, 10.1%, 5.8%, 45.9%)
CIE-LABlab(53.42, 6.46, -1.31)
CIE-LCHlch(53.42, 6.59, 348.56°)
OKLaboklab(60.09% 0.0189 -0.0034)
OKLCHoklch(60.09% 0.019 349.9)
XYZxyz(21.7177, 21.4306, 24.1072)
Luminance0.2143 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7C82 #7C8A84
analogous
#8A7C89 #8A7C82 #8A7D7C
triadic
#8A7C82 #828A7C #7C828A
tetradic
#8A7C82 #898A7C #7C8A84 #7D7C8A
square
#8A7C82 #898A7C #7C8A84 #7D7C8A
split-complementary
#8A7C82 #7C8A7D #7C898A
monochromatic
#4A4245 #6A5F64 #8A7C82 #A79CA1 #C4BDC0

Accessibility & contrast

On white

3.97
#8A7C82 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#8A7C82 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7C82
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7C82#FFFFFF#000000##000000
##8A7C821.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D7E82
Deuteranopia (green-blind)
#808082
Tritanopia (blue-blind)
#8C7C7E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a7c82;
/* rgb */ color: rgb(138, 124, 130);
/* oklch */ color: oklch(60.1% 0.019 349.9);
Tailwind
colors: {
  custom: {
    50: '#aca1a6',
    500: '#8a7c82',
    950: '#000000',
  },
}
SCSS
$custom: #8a7c82;
$custom-light: #aca1a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7c82",
  "rgb": {
    "r": 138,
    "g": 124,
    "b": 130
  },
  "hsl": {
    "h": 334.286,
    "s": 5.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.60088,
    "c": 0.01919,
    "h": 349.9
  },
  "luminance": 0.2143
}

Semantic roles & 50–950 ramp

primary
#8A7C82
secondary
#AEB4B1
accent
#AF9879
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#100F0F
muted
#7F7E7F

Preview Lab

Preview with #8A7C82

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

Preview Lab → · Contrast checker → · Palette generator →

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