#7C8E8A#7C8E8A

#7C8E8A is a light, muted grey. Relative luminance 0.255; OKLCH L 63.1% C 0.022 H 180.7°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#7C8E8A
RGBrgb(124, 142, 138)
HSLhsl(167, 7%, 52%)
HSVhsv(167, 13%, 56%)
CMYKcmyk(12.7%, 0%, 2.8%, 44.3%)
CIE-LABlab(57.53, -7.29, -0.06)
CIE-LCHlch(57.53, 7.29, 180.46°)
OKLaboklab(63.11% -0.0216 -0.0003)
OKLCHoklch(63.11% 0.022 180.7)
XYZxyz(22.5715, 25.4656, 27.7660)
Luminance0.2547 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8E8A #8E7C80
analogous
#7C8E81 #7C8E8A #7C898E
triadic
#7C8E8A #8A7C8E #8E8A7C
tetradic
#7C8E8A #817C8E #8E7C80 #898E7C
square
#7C8E8A #817C8E #8E7C80 #898E7C
split-complementary
#7C8E8A #8E7C89 #8E817C
monochromatic
#434D4B #5F6E6B #7C8E8A #9DAAA7 #BEC7C5

Accessibility & contrast

On white

3.45
#7C8E8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#7C8E8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8E8A
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8E8A#FFFFFF#000000##000000
##7C8E8A1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C8C8A
Deuteranopia (green-blind)
#89898A
Tritanopia (blue-blind)
#788F8D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7c8e8a;
/* rgb */ color: rgb(124, 142, 138);
/* oklch */ color: oklch(63.1% 0.022 180.7);
Tailwind
colors: {
  custom: {
    50: '#a2afac',
    500: '#7c8e8a',
    950: '#000000',
  },
}
SCSS
$custom: #7c8e8a;
$custom-light: #a2afac;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8e8a",
  "rgb": {
    "r": 124,
    "g": 142,
    "b": 138
  },
  "hsl": {
    "h": 166.667,
    "s": 7.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.63112,
    "c": 0.02157,
    "h": 180.7
  },
  "luminance": 0.25466
}

Semantic roles & 50–950 ramp

primary
#7C8E8A
secondary
#B7AFB1
accent
#7784B0
background
#F9FAFA
surface
#F2F4F4
border
#CCCECE
text
#0F1010
muted
#7E7F7F

Preview Lab

Preview with #7C8E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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