#7E7A88#7E7A88

#7E7A88 is a mid, muted grey. Relative luminance 0.201; OKLCH L 58.8% C 0.022 H 298.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#7E7A88
RGBrgb(126, 122, 136)
HSLhsl(257, 6%, 51%)
HSVhsv(257, 10%, 53%)
CMYKcmyk(7.4%, 10.3%, 0%, 46.7%)
CIE-LABlab(51.99, 4.38, -7.05)
CIE-LCHlch(51.99, 8.30, 301.87°)
OKLaboklab(58.77% 0.0104 -0.0189)
OKLCHoklch(58.77% 0.022 298.8)
XYZxyz(20.0068, 20.1322, 26.1197)
Luminance0.2013 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7A88 #84887A
analogous
#7A7D88 #7E7A88 #857A88
triadic
#7E7A88 #887E7A #7A887E
tetradic
#7E7A88 #887A7D #84887A #7A8885
square
#7E7A88 #887A7D #84887A #7A8885
split-complementary
#7E7A88 #88857A #7D887A
monochromatic
#424048 #605D68 #7E7A88 #9D9AA5 #BDBBC2

Accessibility & contrast

On white

4.18
#7E7A88 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#7E7A88 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7A88
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7A88#FFFFFF#000000##000000
##7E7A881.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#787C89
Deuteranopia (green-blind)
#787C88
Tritanopia (blue-blind)
#7C7C7E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7e7a88;
/* rgb */ color: rgb(126, 122, 136);
/* oklch */ color: oklch(58.8% 0.022 298.8);
Tailwind
colors: {
  custom: {
    50: '#a3a0aa',
    500: '#7e7a88',
    950: '#000000',
  },
}
SCSS
$custom: #7e7a88;
$custom-light: #a3a0aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7a88",
  "rgb": {
    "r": 126,
    "g": 122,
    "b": 136
  },
  "hsl": {
    "h": 257.143,
    "s": 5.556,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58773,
    "c": 0.02159,
    "h": 298.8
  },
  "luminance": 0.20132
}

Semantic roles & 50–950 ramp

primary
#7E7A88
secondary
#B0B2AC
accent
#AF799F
background
#FAF9FA
surface
#F3F2F4
border
#CDCCCE
text
#0F0E10
muted
#7F7E7F

Preview Lab

Preview with #7E7A88

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

Preview Lab → · Contrast checker → · Palette generator →

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