#7A867E#7A867E

#7A867E is a mid, near-neutral grey. Relative luminance 0.227; OKLCH L 60.8% C 0.018 H 156.6°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#7A867E
RGBrgb(122, 134, 126)
HSLhsl(140, 5%, 50%)
HSVhsv(140, 9%, 53%)
CMYKcmyk(9%, 0%, 6%, 47.5%)
CIE-LABlab(54.76, -6.03, 2.80)
CIE-LCHlch(54.76, 6.65, 155.05°)
OKLaboklab(60.77% -0.0169 0.0073)
OKLCHoklch(60.77% 0.018 156.6)
XYZxyz(20.3163, 22.6939, 23.0446)
Luminance0.2269 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A867E #867A82
analogous
#7C867A #7A867E #7A8684
triadic
#7A867E #7E7A86 #867E7A
tetradic
#7A867E #7A7C86 #867A82 #86847A
square
#7A867E #7A7C86 #867A82 #86847A
split-complementary
#7A867E #847A86 #867A7C
monochromatic
#404642 #5D6660 #7A867E #9AA39D #BAC0BC

Accessibility & contrast

On white

3.79
#7A867E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#7A867E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A867E
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A867E#FFFFFF#000000##000000
##7A867E1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#86847E
Deuteranopia (green-blind)
#84827E
Tritanopia (blue-blind)
#788684
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7a867e;
/* rgb */ color: rgb(122, 134, 126);
/* oklch */ color: oklch(60.8% 0.018 156.6);
Tailwind
colors: {
  custom: {
    50: '#a0a9a3',
    500: '#7a867e',
    950: '#000000',
  },
}
SCSS
$custom: #7a867e;
$custom-light: #a0a9a3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a867e",
  "rgb": {
    "r": 122,
    "g": 134,
    "b": 126
  },
  "hsl": {
    "h": 140,
    "s": 4.724,
    "l": 50.196
  },
  "oklch": {
    "l": 0.60773,
    "c": 0.01844,
    "h": 156.6
  },
  "luminance": 0.22694
}

Semantic roles & 50–950 ramp

primary
#7A867E
secondary
#B1ABAF
accent
#7A9DAE
background
#F9FAFA
surface
#F2F4F3
border
#CCCECD
text
#0E0F0F
muted
#7E7F7F

Preview Lab

Preview with #7A867E

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

Preview Lab → · Contrast checker → · Palette generator →

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