#7C8A87#7C8A87

#7C8A87 is a light, near-neutral grey. Relative luminance 0.242; OKLCH L 62.1% C 0.017 H 181.5°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#7C8A87
RGBrgb(124, 138, 135)
HSLhsl(167, 6%, 51%)
HSVhsv(167, 10%, 54%)
CMYKcmyk(10.1%, 0%, 2.2%, 45.9%)
CIE-LABlab(56.30, -5.70, -0.13)
CIE-LCHlch(56.30, 5.70, 181.29°)
OKLaboklab(62.11% -0.0169 -0.0004)
OKLCHoklch(62.11% 0.017 181.5)
XYZxyz(21.7728, 24.2110, 26.4431)
Luminance0.2421 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8A87 #8A7C7F
analogous
#7C8A80 #7C8A87 #7C868A
triadic
#7C8A87 #877C8A #8A877C
tetradic
#7C8A87 #807C8A #8A7C7F #868A7C
square
#7C8A87 #807C8A #8A7C7F #868A7C
split-complementary
#7C8A87 #8A7C86 #8A807C
monochromatic
#424A48 #5F6A68 #7C8A87 #9CA7A5 #BDC4C2

Accessibility & contrast

On white

3.59
#7C8A87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#7C8A87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8A87
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8A87#FFFFFF#000000##000000
##7C8A871.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#898887
Deuteranopia (green-blind)
#868687
Tritanopia (blue-blind)
#798B89
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7c8a87;
/* rgb */ color: rgb(124, 138, 135);
/* oklch */ color: oklch(62.1% 0.017 181.5);
Tailwind
colors: {
  custom: {
    50: '#a2aca9',
    500: '#7c8a87',
    950: '#000000',
  },
}
SCSS
$custom: #7c8a87;
$custom-light: #a2aca9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8a87",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 135
  },
  "hsl": {
    "h": 167.143,
    "s": 5.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.62113,
    "c": 0.0169,
    "h": 181.5
  },
  "luminance": 0.24211
}

Semantic roles & 50–950 ramp

primary
#7C8A87
secondary
#B4AEAF
accent
#7985AF
background
#F9FAFA
surface
#F2F4F4
border
#CCCECE
text
#0F1010
muted
#7E7F7F

Preview Lab

Preview with #7C8A87

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

Preview Lab → · Contrast checker → · Palette generator →

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