#6A787A#6A787A

#6A787A is a mid, near-neutral grey. Relative luminance 0.179; OKLCH L 56.2% C 0.017 H 207.1°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#6A787A
RGBrgb(106, 120, 122)
HSLhsl(188, 7%, 45%)
HSVhsv(188, 13%, 48%)
CMYKcmyk(13.1%, 1.6%, 0%, 52.2%)
CIE-LABlab(49.38, -4.73, -2.86)
CIE-LCHlch(49.38, 5.53, 211.12°)
OKLaboklab(56.18% -0.0151 -0.0077)
OKLCHoklch(56.18% 0.017 207.1)
XYZxyz(16.1723, 17.9019, 21.0119)
Luminance0.1790 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A787A #7A6C6A
analogous
#6A7A74 #6A787A #6A707A
triadic
#6A787A #7A6A78 #787A6A
tetradic
#6A787A #746A7A #7A6C6A #707A6A
square
#6A787A #746A7A #7A6C6A #707A6A
split-complementary
#6A787A #7A6A70 #7A746A
monochromatic
#313839 #4E5859 #6A787A #899698 #AAB3B5

Accessibility & contrast

On white

4.58
#6A787A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#6A787A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A787A
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A787A#FFFFFF#000000##000000
##6A787A1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#76777A
Deuteranopia (green-blind)
#73747A
Tritanopia (blue-blind)
#667979
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6a787a;
/* rgb */ color: rgb(106, 120, 122);
/* oklch */ color: oklch(56.2% 0.017 207.1);
Tailwind
colors: {
  custom: {
    50: '#949fa0',
    500: '#6a787a',
    950: '#000000',
  },
}
SCSS
$custom: #6a787a;
$custom-light: #949fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a787a",
  "rgb": {
    "r": 106,
    "g": 120,
    "b": 122
  },
  "hsl": {
    "h": 187.5,
    "s": 7.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.56179,
    "c": 0.01697,
    "h": 207.1
  },
  "luminance": 0.17902
}

Semantic roles & 50–950 ramp

primary
#6A787A
secondary
#A59C9B
accent
#7F78B0
background
#F9F9F9
surface
#F1F2F2
border
#CBCCCC
text
#0D0E0E
muted
#7E7E7E

Preview Lab

Preview with #6A787A

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

Preview Lab → · Contrast checker → · Palette generator →

#6A787A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva