#7E848E#7E848E

#7E848E is a mid, near-neutral grey. Relative luminance 0.229; OKLCH L 61.2% C 0.017 H 260.7°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#7E848E
RGBrgb(126, 132, 142)
HSLhsl(218, 7%, 53%)
HSVhsv(218, 11%, 56%)
CMYKcmyk(11.3%, 7%, 0%, 44.3%)
CIE-LABlab(54.96, -0.09, -6.13)
CIE-LCHlch(54.96, 6.13, 269.11°)
OKLaboklab(61.17% -0.0027 -0.0165)
OKLCHoklch(61.17% 0.017 260.7)
XYZxyz(21.7369, 22.8909, 28.8591)
Luminance0.2289 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E848E #8E887E
analogous
#7E8C8E #7E848E #807E8E
triadic
#7E848E #8E7E84 #848E7E
tetradic
#7E848E #8E7E8C #8E887E #7E8E80
square
#7E848E #8E7E8C #8E887E #7E8E80
split-complementary
#7E848E #8E807E #8C8E7E
monochromatic
#44484E #61666E #7E848E #9FA3AB #BFC2C7

Accessibility & contrast

On white

3.76
#7E848E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#7E848E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E848E
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E848E#FFFFFF#000000##000000
##7E848E1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#81848F
Deuteranopia (green-blind)
#7F838E
Tritanopia (blue-blind)
#7A8687
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7e848e;
/* rgb */ color: rgb(126, 132, 142);
/* oklch */ color: oklch(61.2% 0.017 260.7);
Tailwind
colors: {
  custom: {
    50: '#a3a7af',
    500: '#7e848e',
    950: '#000000',
  },
}
SCSS
$custom: #7e848e;
$custom-light: #a3a7af;
$custom-dark: #000000;
JSON
{
  "hex": "#7e848e",
  "rgb": {
    "r": 126,
    "g": 132,
    "b": 142
  },
  "hsl": {
    "h": 217.5,
    "s": 6.612,
    "l": 52.549
  },
  "oklch": {
    "l": 0.61165,
    "c": 0.0167,
    "h": 260.7
  },
  "luminance": 0.22891
}

Semantic roles & 50–950 ramp

primary
#7E848E
secondary
#B7B5B0
accent
#9B78B0
background
#FAFAFA
surface
#F3F4F4
border
#CDCECE
text
#0F0F10
muted
#7F7F7F

Preview Lab

Preview with #7E848E

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

Preview Lab → · Contrast checker → · Palette generator →

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