#7C7E7E#7C7E7E

#7C7E7E is a mid, near-neutral grey. Relative luminance 0.207; OKLCH L 59.1% C 0.002 H 197.2°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7C7E7E
RGBrgb(124, 126, 126)
HSLhsl(180, 1%, 49%)
HSVhsv(180, 2%, 49%)
CMYKcmyk(1.6%, 0%, 0%, 50.6%)
CIE-LABlab(52.63, -0.75, -0.26)
CIE-LCHlch(52.63, 0.79, 199.33°)
OKLaboklab(59.14% -0.0023 -0.0007)
OKLCHoklch(59.14% 0.002 197.2)
XYZxyz(19.5383, 20.7131, 22.7033)
Luminance0.2071 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7E7E #7E7C7C
analogous
#7C7E7D #7C7E7E #7C7D7E
triadic
#7C7E7E #7E7C7E #7E7E7C
tetradic
#7C7E7E #7D7C7E #7E7C7C #7D7E7C
square
#7C7E7E #7D7C7E #7E7C7C #7D7E7C
split-complementary
#7C7E7E #7E7C7D #7E7D7C
monochromatic
#3F4040 #5E5F5F #7C7E7E #9B9C9C #BABBBB

Accessibility & contrast

On white

4.08
#7C7E7E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#7C7E7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7E7E
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7E7E#FFFFFF#000000##000000
##7C7E7E1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E7E7E
Deuteranopia (green-blind)
#7D7D7E
Tritanopia (blue-blind)
#7B7E7E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7c7e7e;
/* rgb */ color: rgb(124, 126, 126);
/* oklch */ color: oklch(59.1% 0.002 197.2);
Tailwind
colors: {
  custom: {
    50: '#a1a3a3',
    500: '#7c7e7e',
    950: '#000000',
  },
}
SCSS
$custom: #7c7e7e;
$custom-light: #a1a3a3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7e7e",
  "rgb": {
    "r": 124,
    "g": 126,
    "b": 126
  },
  "hsl": {
    "h": 180,
    "s": 0.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.59139,
    "c": 0.00241,
    "h": 197.2
  },
  "luminance": 0.20713
}

Semantic roles & 50–950 ramp

primary
#7C7E7E
secondary
#ABAAAA
accent
#7E7EAA
background
#F9FAFA
surface
#F2F3F3
border
#CCCDCD
text
#0F0F0F
muted
#7E7F7F

Preview Lab

Preview with #7C7E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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