#7E888C#7E888C

#7E888C is a mid, near-neutral grey. Relative luminance 0.239; OKLCH L 62.0% C 0.013 H 223.7°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#7E888C
RGBrgb(126, 136, 140)
HSLhsl(197, 6%, 52%)
HSVhsv(197, 10%, 55%)
CMYKcmyk(10%, 2.9%, 0%, 45.1%)
CIE-LABlab(56.02, -2.80, -3.39)
CIE-LCHlch(56.02, 4.40, 230.46°)
OKLaboklab(61.98% -0.0096 -0.0091)
OKLCHoklch(61.98% 0.013 223.7)
XYZxyz(22.1409, 23.9371, 28.2597)
Luminance0.2394 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E888C #8C827E
analogous
#7E8C89 #7E888C #7E818C
triadic
#7E888C #8C7E88 #888C7E
tetradic
#7E888C #897E8C #8C827E #818C7E
square
#7E888C #897E8C #8C827E #818C7E
split-complementary
#7E888C #8C7E81 #8C897E
monochromatic
#444A4C #61696C #7E888C #9EA6A9 #BFC4C6

Accessibility & contrast

On white

3.63
#7E888C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#7E888C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E888C
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E888C#FFFFFF#000000##000000
##7E888C1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#86878C
Deuteranopia (green-blind)
#83858C
Tritanopia (blue-blind)
#7A8989
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7e888c;
/* rgb */ color: rgb(126, 136, 140);
/* oklch */ color: oklch(62.0% 0.013 223.7);
Tailwind
colors: {
  custom: {
    50: '#a3aaad',
    500: '#7e888c',
    950: '#000000',
  },
}
SCSS
$custom: #7e888c;
$custom-light: #a3aaad;
$custom-dark: #000000;
JSON
{
  "hex": "#7e888c",
  "rgb": {
    "r": 126,
    "g": 136,
    "b": 140
  },
  "hsl": {
    "h": 197.143,
    "s": 5.738,
    "l": 52.157
  },
  "oklch": {
    "l": 0.61982,
    "c": 0.01323,
    "h": 223.7
  },
  "luminance": 0.23937
}

Semantic roles & 50–950 ramp

primary
#7E888C
secondary
#B6B2B0
accent
#8879AF
background
#FAFAFA
surface
#F3F4F4
border
#CDCECE
text
#0F1010
muted
#7F7F7F

Preview Lab

Preview with #7E888C

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

Preview Lab → · Contrast checker → · Palette generator →

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