#7C7C8A#7C7C8A

#7C7C8A is a mid, muted grey. Relative luminance 0.205; OKLCH L 59.1% C 0.021 H 285.7°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#7C7C8A
RGBrgb(124, 124, 138)
HSLhsl(240, 6%, 51%)
HSVhsv(240, 10%, 54%)
CMYKcmyk(10.1%, 10.1%, 0%, 45.9%)
CIE-LABlab(52.44, 2.93, -7.57)
CIE-LCHlch(52.44, 8.12, 291.19°)
OKLaboklab(59.11% 0.0057 -0.0204)
OKLCHoklch(59.11% 0.021 285.7)
XYZxyz(20.1063, 20.5352, 26.9443)
Luminance0.2054 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7C8A #8A8A7C
analogous
#7C838A #7C7C8A #837C8A
triadic
#7C7C8A #8A7C7C #7C8A7C
tetradic
#7C7C8A #8A7C83 #8A8A7C #7C8A83
square
#7C7C8A #8A7C83 #8A8A7C #7C8A83
split-complementary
#7C7C8A #8A837C #838A7C
monochromatic
#42424A #5F5F6A #7C7C8A #9C9CA7 #BDBDC4

Accessibility & contrast

On white

4.11
#7C7C8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#7C7C8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7C8A
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7C8A#FFFFFF#000000##000000
##7C7C8A1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c7c8a;
/* rgb */ color: rgb(124, 124, 138);
/* oklch */ color: oklch(59.1% 0.021 285.7);
Tailwind
colors: {
  custom: {
    50: '#a2a1ac',
    500: '#7c7c8a',
    950: '#000000',
  },
}
SCSS
$custom: #7c7c8a;
$custom-light: #a2a1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7c8a",
  "rgb": {
    "r": 124,
    "g": 124,
    "b": 138
  },
  "hsl": {
    "h": 240,
    "s": 5.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59105,
    "c": 0.02115,
    "h": 285.7
  },
  "luminance": 0.20535
}

Semantic roles & 50–950 ramp

primary
#7C7C8A
secondary
#B4B4AE
accent
#AF79AF
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0F0F10
muted
#7E7E7F

Preview Lab

Preview with #7C7C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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