#8F7C8A#8F7C8A

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

Color values

HEX#8F7C8A
RGBrgb(143, 124, 138)
HSLhsl(316, 8%, 52%)
HSVhsv(316, 13%, 56%)
CMYKcmyk(0%, 13.3%, 3.5%, 43.9%)
CIE-LABlab(54.12, 9.88, -4.88)
CIE-LCHlch(54.12, 11.02, 333.70°)
OKLaboklab(60.83% 0.028 -0.0129)
OKLCHoklch(60.83% 0.031 335.2)
XYZxyz(23.1223, 22.0903, 27.0856)
Luminance0.2209 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7C8A #7C8F81
analogous
#8B7C8F #8F7C8A #8F7C81
triadic
#8F7C8A #8A8F7C #7C8A8F
tetradic
#8F7C8A #8F8B7C #7C8F81 #7C818F
square
#8F7C8A #8F8B7C #7C8F81 #7C818F
split-complementary
#8F7C8A #818F7C #7C8F8B
monochromatic
#4E434B #6F5F6B #8F7C8A #AB9DA7 #C7BEC5

Accessibility & contrast

On white

3.88
#8F7C8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F7C8A#FFFFFF#000000##000000
##8F7C8A1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C808B
Deuteranopia (green-blind)
#808289
Tritanopia (blue-blind)
#917D81
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8f7c8a;
/* rgb */ color: rgb(143, 124, 138);
/* oklch */ color: oklch(60.8% 0.031 335.2);
Tailwind
colors: {
  custom: {
    50: '#afa2ac',
    500: '#8f7c8a',
    950: '#000000',
  },
}
SCSS
$custom: #8f7c8a;
$custom-light: #afa2ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7c8a",
  "rgb": {
    "r": 143,
    "g": 124,
    "b": 138
  },
  "hsl": {
    "h": 315.789,
    "s": 7.819,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60827,
    "c": 0.03082,
    "h": 335.2
  },
  "luminance": 0.2209
}

Semantic roles & 50–950 ramp

primary
#8F7C8A
secondary
#AFB8B1
accent
#B18677
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#100F10
muted
#7F7E7F

Preview Lab

Preview with #8F7C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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