#7C8080#7C8080

#7C8080 is a mid, near-neutral grey. Relative luminance 0.213; OKLCH L 59.6% C 0.005 H 197.0°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#7C8080
RGBrgb(124, 128, 128)
HSLhsl(180, 2%, 49%)
HSVhsv(180, 3%, 50%)
CMYKcmyk(3.1%, 0%, 0%, 49.8%)
CIE-LABlab(53.26, -1.49, -0.52)
CIE-LCHlch(53.26, 1.58, 199.25°)
OKLaboklab(59.65% -0.0046 -0.0014)
OKLCHoklch(59.65% 0.005 197)
XYZxyz(19.9269, 21.2818, 23.4759)
Luminance0.2128 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8080 #807C7C
analogous
#7C807E #7C8080 #7C7E80
triadic
#7C8080 #807C80 #80807C
tetradic
#7C8080 #7E7C80 #807C7C #7E807C
square
#7C8080 #7E7C80 #807C7C #7E807C
split-complementary
#7C8080 #807C7E #807E7C
monochromatic
#404242 #5E6161 #7C8080 #9B9E9E #BABCBC

Accessibility & contrast

On white

4.00
#7C8080 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#7C8080 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8080
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8080#FFFFFF#000000##000000
##7C80801.004.005.265.26
#FFFFFF4.001.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8080
Deuteranopia (green-blind)
#7F7F80
Tritanopia (blue-blind)
#7B8080
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7c8080;
/* rgb */ color: rgb(124, 128, 128);
/* oklch */ color: oklch(59.6% 0.005 197.0);
Tailwind
colors: {
  custom: {
    50: '#a1a4a4',
    500: '#7c8080',
    950: '#000000',
  },
}
SCSS
$custom: #7c8080;
$custom-light: #a1a4a4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8080",
  "rgb": {
    "r": 124,
    "g": 128,
    "b": 128
  },
  "hsl": {
    "h": 180,
    "s": 1.587,
    "l": 49.412
  },
  "oklch": {
    "l": 0.59648,
    "c": 0.00479,
    "h": 197
  },
  "luminance": 0.21282
}

Semantic roles & 50–950 ramp

primary
#7C8080
secondary
#ADABAB
accent
#7D7DAB
background
#F9FAFA
surface
#F2F4F4
border
#CCCECE
text
#0F0F0F
muted
#7E7F7F

Preview Lab

Preview with #7C8080

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

Preview Lab → · Contrast checker → · Palette generator →

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