#7E848A#7E848A

#7E848A is a mid, near-neutral grey. Relative luminance 0.228; OKLCH L 61.0% C 0.012 H 248.0°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#7E848A
RGBrgb(126, 132, 138)
HSLhsl(210, 5%, 52%)
HSVhsv(210, 9%, 54%)
CMYKcmyk(8.7%, 4.3%, 0%, 45.9%)
CIE-LABlab(54.84, -0.96, -3.99)
CIE-LCHlch(54.84, 4.10, 256.50°)
OKLaboklab(61.03% -0.0043 -0.0107)
OKLCHoklch(61.03% 0.012 248)
XYZxyz(21.4419, 22.7729, 27.3058)
Luminance0.2277 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E848A #8A847E
analogous
#7E8A8A #7E848A #7E7E8A
triadic
#7E848A #8A7E84 #848A7E
tetradic
#7E848A #8A7E8A #8A847E #7E8A7E
square
#7E848A #8A7E8A #8A847E #7E8A7E
split-complementary
#7E848A #8A7E7E #8A8A7E
monochromatic
#43474A #60656A #7E848A #9EA3A7 #BEC1C4

Accessibility & contrast

On white

3.78
#7E848A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#7E848A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E848A
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E848A#FFFFFF#000000##000000
##7E848A1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#82848A
Deuteranopia (green-blind)
#80838A
Tritanopia (blue-blind)
#7B8586
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7e848a;
/* rgb */ color: rgb(126, 132, 138);
/* oklch */ color: oklch(61.0% 0.012 248.0);
Tailwind
colors: {
  custom: {
    50: '#a3a7ac',
    500: '#7e848a',
    950: '#000000',
  },
}
SCSS
$custom: #7e848a;
$custom-light: #a3a7ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7e848a",
  "rgb": {
    "r": 126,
    "g": 132,
    "b": 138
  },
  "hsl": {
    "h": 210,
    "s": 4.878,
    "l": 51.765
  },
  "oklch": {
    "l": 0.61028,
    "c": 0.01154,
    "h": 248
  },
  "luminance": 0.22773
}

Semantic roles & 50–950 ramp

primary
#7E848A
secondary
#B5B2AF
accent
#947AAE
background
#FAFAFA
surface
#F3F4F4
border
#CDCECE
text
#0F0F10
muted
#7F7F7F

Preview Lab

Preview with #7E848A

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

Preview Lab → · Contrast checker → · Palette generator →

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