#7C808A#7C808A

#7C808A is a mid, near-neutral grey. Relative luminance 0.216; OKLCH L 60.0% C 0.016 H 268.4°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#7C808A
RGBrgb(124, 128, 138)
HSLhsl(223, 6%, 51%)
HSVhsv(223, 10%, 54%)
CMYKcmyk(10.1%, 7.2%, 0%, 45.9%)
CIE-LABlab(53.56, 0.62, -5.91)
CIE-LCHlch(53.56, 5.94, 275.99°)
OKLaboklab(59.98% -0.0004 -0.0159)
OKLCHoklch(59.98% 0.016 268.4)
XYZxyz(20.6178, 21.5582, 27.1147)
Luminance0.2156 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C808A #8A867C
analogous
#7C878A #7C808A #7F7C8A
triadic
#7C808A #8A7C80 #808A7C
tetradic
#7C808A #8A7C87 #8A867C #7C8A7F
square
#7C808A #8A7C87 #8A867C #7C8A7F
split-complementary
#7C808A #8A7F7C #878A7C
monochromatic
#42444A #5F626A #7C808A #9C9FA7 #BDBFC4

Accessibility & contrast

On white

3.95
#7C808A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#7C808A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C808A
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C808A#FFFFFF#000000##000000
##7C808A1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D818B
Deuteranopia (green-blind)
#7C7F8A
Tritanopia (blue-blind)
#798283
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7c808a;
/* rgb */ color: rgb(124, 128, 138);
/* oklch */ color: oklch(60.0% 0.016 268.4);
Tailwind
colors: {
  custom: {
    50: '#a2a4ac',
    500: '#7c808a',
    950: '#000000',
  },
}
SCSS
$custom: #7c808a;
$custom-light: #a2a4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7c808a",
  "rgb": {
    "r": 124,
    "g": 128,
    "b": 138
  },
  "hsl": {
    "h": 222.857,
    "s": 5.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59981,
    "c": 0.01587,
    "h": 268.4
  },
  "luminance": 0.21558
}

Semantic roles & 50–950 ramp

primary
#7C808A
secondary
#B4B2AE
accent
#9F79AF
background
#F9FAFA
surface
#F2F4F4
border
#CCCECE
text
#0F0F10
muted
#7E7F7F

Preview Lab

Preview with #7C808A

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

Preview Lab → · Contrast checker → · Palette generator →

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