#8A7F85#8A7F85

#8A7F85 is a mid, near-neutral grey. Relative luminance 0.223; OKLCH L 60.8% C 0.016 H 343.5°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#8A7F85
RGBrgb(138, 127, 133)
HSLhsl(327, 4%, 52%)
HSVhsv(327, 8%, 54%)
CMYKcmyk(0%, 8%, 3.6%, 45.9%)
CIE-LABlab(54.32, 5.31, -1.73)
CIE-LCHlch(54.32, 5.58, 341.89°)
OKLaboklab(60.82% 0.0153 -0.0045)
OKLCHoklch(60.82% 0.016 343.5)
XYZxyz(22.3037, 22.2757, 25.3104)
Luminance0.2228 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7F85 #7F8A84
analogous
#8A7F8A #8A7F85 #8A7F80
triadic
#8A7F85 #858A7F #7F858A
tetradic
#8A7F85 #8A8A7F #7F8A84 #7F808A
square
#8A7F85 #8A8A7F #7F8A84 #7F808A
split-complementary
#8A7F85 #808A7F #7F8A8A
monochromatic
#4B4448 #6A6166 #8A7F85 #A79FA3 #C4BFC2

Accessibility & contrast

On white

3.85
#8A7F85 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#8A7F85 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7F85
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7F85#FFFFFF#000000##000000
##8A7F851.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#808185
Deuteranopia (green-blind)
#828285
Tritanopia (blue-blind)
#8C7F81
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a7f85;
/* rgb */ color: rgb(138, 127, 133);
/* oklch */ color: oklch(60.8% 0.016 343.5);
Tailwind
colors: {
  custom: {
    50: '#aca4a8',
    500: '#8a7f85',
    950: '#000000',
  },
}
SCSS
$custom: #8a7f85;
$custom-light: #aca4a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7f85",
  "rgb": {
    "r": 138,
    "g": 127,
    "b": 133
  },
  "hsl": {
    "h": 327.273,
    "s": 4.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.6082,
    "c": 0.01594,
    "h": 343.5
  },
  "luminance": 0.22275
}

Semantic roles & 50–950 ramp

primary
#8A7F85
secondary
#B0B5B2
accent
#AE927A
background
#FAFAFA
surface
#F4F4F4
border
#CECECE
text
#100F0F
muted
#7F7F7F

Preview Lab

Preview with #8A7F85

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

Preview Lab → · Contrast checker → · Palette generator →

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