#7E8288#7E8288

#7E8288 is a mid, near-neutral grey. Relative luminance 0.222; OKLCH L 60.5% C 0.010 H 258.3°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#7E8288
RGBrgb(126, 130, 136)
HSLhsl(216, 4%, 51%)
HSVhsv(216, 7%, 53%)
CMYKcmyk(7.4%, 4.4%, 0%, 46.7%)
CIE-LABlab(54.22, -0.24, -3.75)
CIE-LCHlch(54.22, 3.75, 266.35°)
OKLaboklab(60.52% -0.0021 -0.01)
OKLCHoklch(60.52% 0.01 258.3)
XYZxyz(21.0299, 22.1783, 26.4607)
Luminance0.2218 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8288 #88847E
analogous
#7E8788 #7E8288 #7F7E88
triadic
#7E8288 #887E82 #82887E
tetradic
#7E8288 #887E87 #88847E #7E887F
square
#7E8288 #887E87 #88847E #7E887F
split-complementary
#7E8288 #887F7E #87887E
monochromatic
#434549 #606468 #7E8288 #9EA1A5 #BEC0C3

Accessibility & contrast

On white

3.86
#7E8288 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#7E8288 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8288
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8288#FFFFFF#000000##000000
##7E82881.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#808288
Deuteranopia (green-blind)
#7F8188
Tritanopia (blue-blind)
#7C8384
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7e8288;
/* rgb */ color: rgb(126, 130, 136);
/* oklch */ color: oklch(60.5% 0.010 258.3);
Tailwind
colors: {
  custom: {
    50: '#a3a6aa',
    500: '#7e8288',
    950: '#000000',
  },
}
SCSS
$custom: #7e8288;
$custom-light: #a3a6aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8288",
  "rgb": {
    "r": 126,
    "g": 130,
    "b": 136
  },
  "hsl": {
    "h": 216,
    "s": 4.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.60519,
    "c": 0.01024,
    "h": 258.3
  },
  "luminance": 0.22178
}

Semantic roles & 50–950 ramp

primary
#7E8288
secondary
#B3B1AF
accent
#997BAD
background
#FAFAFA
surface
#F3F4F4
border
#CDCECE
text
#0F0F10
muted
#7F7F7F

Preview Lab

Preview with #7E8288

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

Preview Lab → · Contrast checker → · Palette generator →

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