#7C7A8A#7C7A8A

#7C7A8A is a mid, muted grey. Relative luminance 0.200; OKLCH L 58.7% C 0.024 H 291.4°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#7C7A8A
RGBrgb(124, 122, 138)
HSLhsl(248, 6%, 51%)
HSVhsv(248, 12%, 54%)
CMYKcmyk(10.1%, 11.6%, 0%, 45.9%)
CIE-LABlab(51.88, 4.10, -8.40)
CIE-LCHlch(51.88, 9.35, 296.01°)
OKLaboklab(58.67% 0.0089 -0.0226)
OKLCHoklch(58.67% 0.024 291.4)
XYZxyz(19.8582, 20.0390, 26.8616)
Luminance0.2004 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7A8A #888A7A
analogous
#7A808A #7C7A8A #847A8A
triadic
#7C7A8A #8A7C7A #7A8A7C
tetradic
#7C7A8A #8A7A80 #888A7A #7A8A84
square
#7C7A8A #8A7A80 #888A7A #7A8A84
split-complementary
#7C7A8A #8A847A #808A7A
monochromatic
#414049 #5F5D6A #7C7A8A #9C9BA7 #BCBBC3

Accessibility & contrast

On white

4.19
#7C7A8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#7C7A8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7A8A
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7A8A#FFFFFF#000000##000000
##7C7A8A1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#777C8B
Deuteranopia (green-blind)
#777B8A
Tritanopia (blue-blind)
#797C7F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7c7a8a;
/* rgb */ color: rgb(124, 122, 138);
/* oklch */ color: oklch(58.7% 0.024 291.4);
Tailwind
colors: {
  custom: {
    50: '#a2a0ac',
    500: '#7c7a8a',
    950: '#000000',
  },
}
SCSS
$custom: #7c7a8a;
$custom-light: #a2a0ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7a8a",
  "rgb": {
    "r": 124,
    "g": 122,
    "b": 138
  },
  "hsl": {
    "h": 247.5,
    "s": 6.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5867,
    "c": 0.02428,
    "h": 291.4
  },
  "luminance": 0.20039
}

Semantic roles & 50–950 ramp

primary
#7C7A8A
secondary
#B3B3AC
accent
#AF78A9
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0F0E10
muted
#7E7E7F

Preview Lab

Preview with #7C7A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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