#7C8F8A#7C8F8A

#7C8F8A is a light, muted grey. Relative luminance 0.258; OKLCH L 63.3% C 0.023 H 177.9°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#7C8F8A
RGBrgb(124, 143, 138)
HSLhsl(164, 8%, 52%)
HSVhsv(164, 13%, 56%)
CMYKcmyk(13.3%, 0%, 3.5%, 43.9%)
CIE-LABlab(57.81, -7.85, 0.36)
CIE-LCHlch(57.81, 7.85, 177.37°)
OKLaboklab(63.34% -0.023 0.0008)
OKLCHoklch(63.34% 0.023 177.9)
XYZxyz(22.7210, 25.7645, 27.8158)
Luminance0.2576 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8F8A #8F7C81
analogous
#7C8F81 #7C8F8A #7C8B8F
triadic
#7C8F8A #8A7C8F #8F8A7C
tetradic
#7C8F8A #817C8F #8F7C81 #8B8F7C
square
#7C8F8A #817C8F #8F7C81 #8B8F7C
split-complementary
#7C8F8A #8F7C8B #8F817C
monochromatic
#434E4B #5F6F6B #7C8F8A #9DABA7 #BEC7C5

Accessibility & contrast

On white

3.41
#7C8F8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#7C8F8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8F8A
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8F8A#FFFFFF#000000##000000
##7C8F8A1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8C8A
Deuteranopia (green-blind)
#8A8A8A
Tritanopia (blue-blind)
#78908D
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7c8f8a;
/* rgb */ color: rgb(124, 143, 138);
/* oklch */ color: oklch(63.3% 0.023 177.9);
Tailwind
colors: {
  custom: {
    50: '#a2afac',
    500: '#7c8f8a',
    950: '#000000',
  },
}
SCSS
$custom: #7c8f8a;
$custom-light: #a2afac;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8f8a",
  "rgb": {
    "r": 124,
    "g": 143,
    "b": 138
  },
  "hsl": {
    "h": 164.211,
    "s": 7.819,
    "l": 52.353
  },
  "oklch": {
    "l": 0.63339,
    "c": 0.02306,
    "h": 177.9
  },
  "luminance": 0.25765
}

Semantic roles & 50–950 ramp

primary
#7C8F8A
secondary
#B8AFB1
accent
#7786B1
background
#F9FAFA
surface
#F2F4F4
border
#CCCECE
text
#0F1010
muted
#7E7F7F

Preview Lab

Preview with #7C8F8A

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

Preview Lab → · Contrast checker → · Palette generator →

#7C8F8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva