#7D7C8A#7D7C8A

#7D7C8A is a mid, muted grey. Relative luminance 0.206; OKLCH L 59.2% C 0.021 H 289.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#7D7C8A
RGBrgb(125, 124, 138)
HSLhsl(244, 6%, 51%)
HSVhsv(244, 10%, 54%)
CMYKcmyk(9.4%, 10.1%, 0%, 45.9%)
CIE-LABlab(52.52, 3.29, -7.44)
CIE-LCHlch(52.52, 8.13, 293.87°)
OKLaboklab(59.19% 0.0069 -0.02)
OKLCHoklch(59.19% 0.021 289)
XYZxyz(20.2516, 20.6102, 26.9511)
Luminance0.2061 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7C8A #898A7C
analogous
#7C828A #7D7C8A #847C8A
triadic
#7D7C8A #8A7D7C #7C8A7D
tetradic
#7D7C8A #8A7C82 #898A7C #7C8A84
square
#7D7C8A #8A7C82 #898A7C #7C8A84
split-complementary
#7D7C8A #8A847C #828A7C
monochromatic
#42424A #605F6A #7D7C8A #9D9CA7 #BDBDC4

Accessibility & contrast

On white

4.10
#7D7C8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#7D7C8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7C8A
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7C8A#FFFFFF#000000##000000
##7D7C8A1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#797E8B
Deuteranopia (green-blind)
#797D8A
Tritanopia (blue-blind)
#7B7E80
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7d7c8a;
/* rgb */ color: rgb(125, 124, 138);
/* oklch */ color: oklch(59.2% 0.021 289.0);
Tailwind
colors: {
  custom: {
    50: '#a2a1ac',
    500: '#7d7c8a',
    950: '#000000',
  },
}
SCSS
$custom: #7d7c8a;
$custom-light: #a2a1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7c8a",
  "rgb": {
    "r": 125,
    "g": 124,
    "b": 138
  },
  "hsl": {
    "h": 244.286,
    "s": 5.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5919,
    "c": 0.02114,
    "h": 289
  },
  "luminance": 0.2061
}

Semantic roles & 50–950 ramp

primary
#7D7C8A
secondary
#B4B4AE
accent
#AF79AB
background
#FAF9FA
surface
#F3F2F4
border
#CDCCCE
text
#0F0F10
muted
#7F7E7F

Preview Lab

Preview with #7D7C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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