#7C8280#7C8280

#7C8280 is a mid, near-neutral grey. Relative luminance 0.218; OKLCH L 60.1% C 0.008 H 174.2°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#7C8280
RGBrgb(124, 130, 128)
HSLhsl(160, 2%, 50%)
HSVhsv(160, 5%, 51%)
CMYKcmyk(4.6%, 0%, 1.5%, 49%)
CIE-LABlab(53.82, -2.63, 0.31)
CIE-LCHlch(53.82, 2.65, 173.30°)
OKLaboklab(60.09% -0.0077 0.0008)
OKLCHoklch(60.09% 0.008 174.2)
XYZxyz(20.1903, 21.8087, 23.5637)
Luminance0.2181 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8280 #827C7E
analogous
#7C827D #7C8280 #7C8182
triadic
#7C8280 #807C82 #82807C
tetradic
#7C8280 #7D7C82 #827C7E #81827C
square
#7C8280 #7D7C82 #827C7E #81827C
split-complementary
#7C8280 #827C81 #827D7C
monochromatic
#404342 #5E6361 #7C8280 #9BA09E #BBBEBD

Accessibility & contrast

On white

3.92
#7C8280 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#7C8280 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8280
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8280#FFFFFF#000000##000000
##7C82801.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#828180
Deuteranopia (green-blind)
#808080
Tritanopia (blue-blind)
#7B8281
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7c8280;
/* rgb */ color: rgb(124, 130, 128);
/* oklch */ color: oklch(60.1% 0.008 174.2);
Tailwind
colors: {
  custom: {
    50: '#a1a6a4',
    500: '#7c8280',
    950: '#000000',
  },
}
SCSS
$custom: #7c8280;
$custom-light: #a1a6a4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8280",
  "rgb": {
    "r": 124,
    "g": 130,
    "b": 128
  },
  "hsl": {
    "h": 160,
    "s": 2.362,
    "l": 49.804
  },
  "oklch": {
    "l": 0.60094,
    "c": 0.00773,
    "h": 174.2
  },
  "luminance": 0.21809
}

Semantic roles & 50–950 ramp

primary
#7C8280
secondary
#AEACAC
accent
#7C8CAC
background
#F9FAFA
surface
#F2F4F4
border
#CCCECE
text
#0F0F0F
muted
#7E7F7F

Preview Lab

Preview with #7C8280

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

Preview Lab → · Contrast checker → · Palette generator →

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