#7C828A#7C828A

#7C828A is a mid, near-neutral grey. Relative luminance 0.221; OKLCH L 60.4% C 0.014 H 255.5°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#7C828A
RGBrgb(124, 130, 138)
HSLhsl(214, 6%, 51%)
HSVhsv(214, 10%, 54%)
CMYKcmyk(10.1%, 5.8%, 0%, 45.9%)
CIE-LABlab(54.12, -0.53, -5.07)
CIE-LCHlch(54.12, 5.10, 264.05°)
OKLaboklab(60.42% -0.0035 -0.0136)
OKLCHoklch(60.42% 0.014 255.5)
XYZxyz(20.8813, 22.0851, 27.2026)
Luminance0.2208 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C828A #8A847C
analogous
#7C898A #7C828A #7D7C8A
triadic
#7C828A #8A7C82 #828A7C
tetradic
#7C828A #8A7C89 #8A847C #7C8A7D
square
#7C828A #8A7C89 #8A847C #7C8A7D
split-complementary
#7C828A #8A7D7C #898A7C
monochromatic
#42454A #5F646A #7C828A #9CA1A7 #BDC0C4

Accessibility & contrast

On white

3.88
#7C828A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#7C828A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C828A
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C828A#FFFFFF#000000##000000
##7C828A1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F828A
Deuteranopia (green-blind)
#7E818A
Tritanopia (blue-blind)
#798484
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7c828a;
/* rgb */ color: rgb(124, 130, 138);
/* oklch */ color: oklch(60.4% 0.014 255.5);
Tailwind
colors: {
  custom: {
    50: '#a2a6ac',
    500: '#7c828a',
    950: '#000000',
  },
}
SCSS
$custom: #7c828a;
$custom-light: #a2a6ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7c828a",
  "rgb": {
    "r": 124,
    "g": 130,
    "b": 138
  },
  "hsl": {
    "h": 214.286,
    "s": 5.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.60423,
    "c": 0.01407,
    "h": 255.5
  },
  "luminance": 0.22085
}

Semantic roles & 50–950 ramp

primary
#7C828A
secondary
#B4B1AE
accent
#9879AF
background
#F9FAFA
surface
#F2F4F4
border
#CCCECE
text
#0F0F10
muted
#7E7F7F

Preview Lab

Preview with #7C828A

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

Preview Lab → · Contrast checker → · Palette generator →

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