#8A7E7C#8A7E7C

#8A7E7C is a mid, near-neutral grey. Relative luminance 0.218; OKLCH L 60.3% C 0.015 H 28.9°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#8A7E7C
RGBrgb(138, 126, 124)
HSLhsl(9, 6%, 51%)
HSVhsv(9, 10%, 54%)
CMYKcmyk(0%, 8.7%, 10.1%, 45.9%)
CIE-LABlab(53.79, 4.19, 2.74)
CIE-LCHlch(53.79, 5.01, 33.15°)
OKLaboklab(60.33% 0.0132 0.0073)
OKLCHoklch(60.33% 0.015 28.9)
XYZxyz(21.5799, 21.7806, 22.1321)
Luminance0.2178 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7E7C #7C888A
analogous
#8A7C81 #8A7E7C #8A857C
triadic
#8A7E7C #7C8A7E #7E7C8A
tetradic
#8A7E7C #818A7C #7C888A #857C8A
square
#8A7E7C #818A7C #7C888A #857C8A
split-complementary
#8A7E7C #7C8A85 #7C818A
monochromatic
#4A4342 #6A605F #8A7E7C #A79E9C #C4BEBD

Accessibility & contrast

On white

3.92
#8A7E7C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#8A7E7C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7E7C
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7E7C#FFFFFF#000000##000000
##8A7E7C1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#807F7C
Deuteranopia (green-blind)
#83817C
Tritanopia (blue-blind)
#8D7D7D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a7e7c;
/* rgb */ color: rgb(138, 126, 124);
/* oklch */ color: oklch(60.3% 0.015 28.9);
Tailwind
colors: {
  custom: {
    50: '#aca3a1',
    500: '#8a7e7c',
    950: '#000000',
  },
}
SCSS
$custom: #8a7e7c;
$custom-light: #aca3a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7e7c",
  "rgb": {
    "r": 138,
    "g": 126,
    "b": 124
  },
  "hsl": {
    "h": 8.571,
    "s": 5.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.60326,
    "c": 0.01505,
    "h": 28.9
  },
  "luminance": 0.2178
}

Semantic roles & 50–950 ramp

primary
#8A7E7C
secondary
#AEB3B4
accent
#A7AF79
background
#FAFAF9
surface
#F4F3F2
border
#CECDCC
text
#100F0F
muted
#7F7F7E

Preview Lab

Preview with #8A7E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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