#7C828C#7C828C

#7C828C is a mid, near-neutral grey. Relative luminance 0.221; OKLCH L 60.5% C 0.017 H 260.7°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#7C828C
RGBrgb(124, 130, 140)
HSLhsl(218, 7%, 52%)
HSVhsv(218, 11%, 55%)
CMYKcmyk(11.4%, 7.1%, 0%, 45.1%)
CIE-LABlab(54.18, -0.09, -6.14)
CIE-LCHlch(54.18, 6.14, 269.14°)
OKLaboklab(60.49% -0.0027 -0.0165)
OKLCHoklch(60.49% 0.017 260.7)
XYZxyz(21.0274, 22.1435, 27.9722)
Luminance0.2214 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C828C #8C867C
analogous
#7C8A8C #7C828C #7E7C8C
triadic
#7C828C #8C7C82 #828C7C
tetradic
#7C828C #8C7C8A #8C867C #7C8C7E
square
#7C828C #8C7C8A #8C867C #7C8C7E
split-complementary
#7C828C #8C7E7C #8A8C7C
monochromatic
#42464B #5F646C #7C828C #9DA1A9 #BDC0C5

Accessibility & contrast

On white

3.87
#7C828C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#7C828C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C828C
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C828C#FFFFFF#000000##000000
##7C828C1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F828D
Deuteranopia (green-blind)
#7D818C
Tritanopia (blue-blind)
#788485
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7c828c;
/* rgb */ color: rgb(124, 130, 140);
/* oklch */ color: oklch(60.5% 0.017 260.7);
Tailwind
colors: {
  custom: {
    50: '#a2a6ad',
    500: '#7c828c',
    950: '#000000',
  },
}
SCSS
$custom: #7c828c;
$custom-light: #a2a6ad;
$custom-dark: #000000;
JSON
{
  "hex": "#7c828c",
  "rgb": {
    "r": 124,
    "g": 130,
    "b": 140
  },
  "hsl": {
    "h": 217.5,
    "s": 6.504,
    "l": 51.765
  },
  "oklch": {
    "l": 0.60492,
    "c": 0.01674,
    "h": 260.7
  },
  "luminance": 0.22144
}

Semantic roles & 50–950 ramp

primary
#7C828C
secondary
#B5B3AE
accent
#9B78B0
background
#F9FAFA
surface
#F2F4F4
border
#CCCECE
text
#0F0F10
muted
#7E7F7F

Preview Lab

Preview with #7C828C

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

Preview Lab → · Contrast checker → · Palette generator →

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