#7F8A8A#7F8A8A

#7F8A8A is a light, near-neutral grey. Relative luminance 0.245; OKLCH L 62.4% C 0.013 H 196.8°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#7F8A8A
RGBrgb(127, 138, 138)
HSLhsl(180, 4%, 52%)
HSVhsv(180, 8%, 54%)
CMYKcmyk(8%, 0%, 0%, 45.9%)
CIE-LABlab(56.61, -4.00, -1.38)
CIE-LCHlch(56.61, 4.23, 198.99°)
OKLaboklab(62.44% -0.0123 -0.0037)
OKLCHoklch(62.44% 0.013 196.8)
XYZxyz(22.4273, 24.5237, 27.5918)
Luminance0.2452 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F8A8A #8A7F7F
analogous
#7F8A85 #7F8A8A #7F858A
triadic
#7F8A8A #8A7F8A #8A8A7F
tetradic
#7F8A8A #857F8A #8A7F7F #858A7F
square
#7F8A8A #857F8A #8A7F7F #858A7F
split-complementary
#7F8A8A #8A7F85 #8A857F
monochromatic
#444B4B #616A6A #7F8A8A #9FA7A7 #BFC4C4

Accessibility & contrast

On white

3.56
#7F8A8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#7F8A8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F8A8A
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F8A8A#FFFFFF#000000##000000
##7F8A8A1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#88898A
Deuteranopia (green-blind)
#86878A
Tritanopia (blue-blind)
#7C8B8A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7f8a8a;
/* rgb */ color: rgb(127, 138, 138);
/* oklch */ color: oklch(62.4% 0.013 196.8);
Tailwind
colors: {
  custom: {
    50: '#a4acac',
    500: '#7f8a8a',
    950: '#000000',
  },
}
SCSS
$custom: #7f8a8a;
$custom-light: #a4acac;
$custom-dark: #000000;
JSON
{
  "hex": "#7f8a8a",
  "rgb": {
    "r": 127,
    "g": 138,
    "b": 138
  },
  "hsl": {
    "h": 180,
    "s": 4.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.62442,
    "c": 0.01287,
    "h": 196.8
  },
  "luminance": 0.24524
}

Semantic roles & 50–950 ramp

primary
#7F8A8A
secondary
#B5B0B0
accent
#7A7AAE
background
#FAFAFA
surface
#F4F4F4
border
#CECECE
text
#0F1010
muted
#7F7F7F

Preview Lab

Preview with #7F8A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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