#8A7985#8A7985

#8A7985 is a mid, muted grey. Relative luminance 0.208; OKLCH L 59.6% C 0.027 H 336.5°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8A7985
RGBrgb(138, 121, 133)
HSLhsl(318, 7%, 51%)
HSVhsv(318, 12%, 54%)
CMYKcmyk(0%, 12.3%, 3.6%, 45.9%)
CIE-LABlab(52.70, 8.78, -4.12)
CIE-LCHlch(52.70, 9.70, 334.87°)
OKLaboklab(59.56% 0.025 -0.0109)
OKLCHoklch(59.56% 0.027 336.5)
XYZxyz(21.5518, 20.7718, 25.0598)
Luminance0.2077 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7985 #798A7E
analogous
#86798A #8A7985 #8A797C
triadic
#8A7985 #858A79 #79858A
tetradic
#8A7985 #8A8679 #798A7E #797C8A
square
#8A7985 #8A8679 #798A7E #797C8A
split-complementary
#8A7985 #7C8A79 #798A86
monochromatic
#494046 #6A5C66 #8A7985 #A79AA3 #C3BAC0

Accessibility & contrast

On white

4.07
#8A7985 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#8A7985 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7985
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7985#FFFFFF#000000##000000
##8A79851.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#797C86
Deuteranopia (green-blind)
#7D7F84
Tritanopia (blue-blind)
#8C797D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a7985;
/* rgb */ color: rgb(138, 121, 133);
/* oklch */ color: oklch(59.6% 0.027 336.5);
Tailwind
colors: {
  custom: {
    50: '#ac9fa8',
    500: '#8a7985',
    950: '#000000',
  },
}
SCSS
$custom: #8a7985;
$custom-light: #ac9fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7985",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 133
  },
  "hsl": {
    "h": 317.647,
    "s": 6.773,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59557,
    "c": 0.02722,
    "h": 336.5
  },
  "luminance": 0.20771
}

Semantic roles & 50–950 ramp

primary
#8A7985
secondary
#ACB3AE
accent
#B08878
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#100E0F
muted
#7F7E7F

Preview Lab

Preview with #8A7985

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

Preview Lab → · Contrast checker → · Palette generator →

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