#7C8A8A#7C8A8A

#7C8A8A is a light, near-neutral grey. Relative luminance 0.243; OKLCH L 62.2% C 0.016 H 196.7°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#7C8A8A
RGBrgb(124, 138, 138)
HSLhsl(180, 6%, 51%)
HSVhsv(180, 10%, 54%)
CMYKcmyk(10.1%, 0%, 0%, 45.9%)
CIE-LABlab(56.38, -5.06, -1.73)
CIE-LCHlch(56.38, 5.35, 198.88°)
OKLaboklab(62.21% -0.0156 -0.0047)
OKLCHoklch(62.21% 0.016 196.7)
XYZxyz(21.9870, 24.2966, 27.5712)
Luminance0.2430 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8A8A #8A7C7C
analogous
#7C8A83 #7C8A8A #7C838A
triadic
#7C8A8A #8A7C8A #8A8A7C
tetradic
#7C8A8A #837C8A #8A7C7C #838A7C
square
#7C8A8A #837C8A #8A7C7C #838A7C
split-complementary
#7C8A8A #8A7C83 #8A837C
monochromatic
#424A4A #5F6A6A #7C8A8A #9CA7A7 #BDC4C4

Accessibility & contrast

On white

3.58
#7C8A8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#7C8A8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8A8A
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8A8A#FFFFFF#000000##000000
##7C8A8A1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#88888A
Deuteranopia (green-blind)
#85868A
Tritanopia (blue-blind)
#788B8A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7c8a8a;
/* rgb */ color: rgb(124, 138, 138);
/* oklch */ color: oklch(62.2% 0.016 196.7);
Tailwind
colors: {
  custom: {
    50: '#a2acac',
    500: '#7c8a8a',
    950: '#000000',
  },
}
SCSS
$custom: #7c8a8a;
$custom-light: #a2acac;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8a8a",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 138
  },
  "hsl": {
    "h": 180,
    "s": 5.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.62208,
    "c": 0.01631,
    "h": 196.7
  },
  "luminance": 0.24297
}

Semantic roles & 50–950 ramp

primary
#7C8A8A
secondary
#B4AEAE
accent
#7979AF
background
#F9FAFA
surface
#F2F4F4
border
#CCCECE
text
#0F1010
muted
#7E7F7F

Preview Lab

Preview with #7C8A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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