#7E8086#7E8086

#7E8086 is a mid, near-neutral grey. Relative luminance 0.216; OKLCH L 60.0% C 0.009 H 271.3°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7E8086
RGBrgb(126, 128, 134)
HSLhsl(225, 3%, 51%)
HSVhsv(225, 6%, 53%)
CMYKcmyk(6%, 4.5%, 0%, 47.5%)
CIE-LABlab(53.59, 0.49, -3.50)
CIE-LCHlch(53.59, 3.53, 277.92°)
OKLaboklab(60.01% 0.0002 -0.0093)
OKLCHoklch(60.01% 0.009 271.3)
XYZxyz(20.6256, 21.5951, 25.6313)
Luminance0.2160 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8086 #86847E
analogous
#7E8486 #7E8086 #807E86
triadic
#7E8086 #867E80 #80867E
tetradic
#7E8086 #867E84 #86847E #7E8680
square
#7E8086 #867E84 #86847E #7E8680
split-complementary
#7E8086 #86807E #84867E
monochromatic
#434447 #606267 #7E8086 #9E9FA4 #BDBEC1

Accessibility & contrast

On white

3.95
#7E8086 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#7E8086 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8086
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8086#FFFFFF#000000##000000
##7E80861.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8086
Deuteranopia (green-blind)
#7E8086
Tritanopia (blue-blind)
#7C8182
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7e8086;
/* rgb */ color: rgb(126, 128, 134);
/* oklch */ color: oklch(60.0% 0.009 271.3);
Tailwind
colors: {
  custom: {
    50: '#a3a4a9',
    500: '#7e8086',
    950: '#000000',
  },
}
SCSS
$custom: #7e8086;
$custom-light: #a3a4a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8086",
  "rgb": {
    "r": 126,
    "g": 128,
    "b": 134
  },
  "hsl": {
    "h": 225,
    "s": 3.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.60012,
    "c": 0.00935,
    "h": 271.3
  },
  "luminance": 0.21595
}

Semantic roles & 50–950 ramp

primary
#7E8086
secondary
#B2B1AE
accent
#A07BAC
background
#FAFAFA
surface
#F3F4F4
border
#CDCECE
text
#0F0F0F
muted
#7F7F7F

Preview Lab

Preview with #7E8086

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

Preview Lab → · Contrast checker → · Palette generator →

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