#8A7E7A#8A7E7A

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

Color values

HEX#8A7E7A
RGBrgb(138, 126, 122)
HSLhsl(15, 6%, 51%)
HSVhsv(15, 12%, 54%)
CMYKcmyk(0%, 8.7%, 11.6%, 45.9%)
CIE-LABlab(53.74, 3.83, 3.83)
CIE-LCHlch(53.74, 5.42, 44.94°)
OKLaboklab(60.27% 0.0123 0.0101)
OKLCHoklch(60.27% 0.016 39.4)
XYZxyz(21.4547, 21.7305, 21.4728)
Luminance0.2173 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7E7A #7A868A
analogous
#8A7A7E #8A7E7A #8A867A
triadic
#8A7E7A #7A8A7E #7E7A8A
tetradic
#8A7E7A #7E8A7A #7A868A #867A8A
square
#8A7E7A #7E8A7A #7A868A #867A8A
split-complementary
#8A7E7A #7A8A86 #7A7E8A
monochromatic
#494340 #6A605D #8A7E7A #A79E9B #C3BDBB

Accessibility & contrast

On white

3.93
#8A7E7A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#8A7E7A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7E7A
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7E7A#FFFFFF#000000##000000
##8A7E7A1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#817F7A
Deuteranopia (green-blind)
#83817A
Tritanopia (blue-blind)
#8D7C7D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a7e7a;
/* rgb */ color: rgb(138, 126, 122);
/* oklch */ color: oklch(60.3% 0.016 39.4);
Tailwind
colors: {
  custom: {
    50: '#aca3a0',
    500: '#8a7e7a',
    950: '#000000',
  },
}
SCSS
$custom: #8a7e7a;
$custom-light: #aca3a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7e7a",
  "rgb": {
    "r": 138,
    "g": 126,
    "b": 122
  },
  "hsl": {
    "h": 15,
    "s": 6.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.60266,
    "c": 0.01594,
    "h": 39.4
  },
  "luminance": 0.2173
}

Semantic roles & 50–950 ramp

primary
#8A7E7A
secondary
#ACB2B3
accent
#A2AF78
background
#FAFAF9
surface
#F4F3F2
border
#CECDCC
text
#100F0E
muted
#7F7F7E

Preview Lab

Preview with #8A7E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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