#8A7E88#8A7E88

#8A7E88 is a mid, muted grey. Relative luminance 0.221; OKLCH L 60.7% C 0.021 H 331.3°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8A7E88
RGBrgb(138, 126, 136)
HSLhsl(310, 5%, 52%)
HSVhsv(310, 9%, 54%)
CMYKcmyk(0%, 8.7%, 1.4%, 45.9%)
CIE-LABlab(54.14, 6.47, -3.75)
CIE-LCHlch(54.14, 7.48, 329.90°)
OKLaboklab(60.71% 0.0181 -0.0099)
OKLCHoklch(60.71% 0.021 331.3)
XYZxyz(22.3854, 22.1028, 26.3748)
Luminance0.2210 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7E88 #7E8A80
analogous
#867E8A #8A7E88 #8A7E82
triadic
#8A7E88 #888A7E #7E888A
tetradic
#8A7E88 #8A867E #7E8A80 #7E828A
square
#8A7E88 #8A867E #7E8A80 #7E828A
split-complementary
#8A7E88 #828A7E #7E8A86
monochromatic
#4A4349 #6A6069 #8A7E88 #A79EA6 #C4BEC3

Accessibility & contrast

On white

3.87
#8A7E88 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#8A7E88 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7E88
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7E88#FFFFFF#000000##000000
##8A7E881.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8088
Deuteranopia (green-blind)
#808288
Tritanopia (blue-blind)
#8B7F81
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a7e88;
/* rgb */ color: rgb(138, 126, 136);
/* oklch */ color: oklch(60.7% 0.021 331.3);
Tailwind
colors: {
  custom: {
    50: '#aca3aa',
    500: '#8a7e88',
    950: '#000000',
  },
}
SCSS
$custom: #8a7e88;
$custom-light: #aca3aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7e88",
  "rgb": {
    "r": 138,
    "g": 126,
    "b": 136
  },
  "hsl": {
    "h": 310,
    "s": 4.878,
    "l": 51.765
  },
  "oklch": {
    "l": 0.60707,
    "c": 0.02063,
    "h": 331.3
  },
  "luminance": 0.22103
}

Semantic roles & 50–950 ramp

primary
#8A7E88
secondary
#AFB5B0
accent
#AE827A
background
#FAFAFA
surface
#F4F3F4
border
#CECDCE
text
#100F10
muted
#7F7F7F

Preview Lab

Preview with #8A7E88

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

Preview Lab → · Contrast checker → · Palette generator →

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