#7E7478#7E7478

#7E7478 is a mid, near-neutral grey. Relative luminance 0.183; OKLCH L 56.9% C 0.014 H 351.3°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7E7478
RGBrgb(126, 116, 120)
HSLhsl(336, 4%, 47%)
HSVhsv(336, 8%, 49%)
CMYKcmyk(0%, 7.9%, 4.8%, 50.6%)
CIE-LABlab(49.84, 4.62, -0.81)
CIE-LCHlch(49.84, 4.69, 350.10°)
OKLaboklab(56.93% 0.0135 -0.0021)
OKLCHoklch(56.93% 0.014 351.3)
XYZxyz(18.2393, 18.2827, 20.3337)
Luminance0.1828 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7478 #747E7A
analogous
#7E747D #7E7478 #7E7574
triadic
#7E7478 #787E74 #74787E
tetradic
#7E7478 #7D7E74 #747E7A #75747E
square
#7E7478 #7D7E74 #747E7A #75747E
split-complementary
#7E7478 #747E75 #747D7E
monochromatic
#3E393B #5E575A #7E7478 #9C9397 #B9B3B6

Accessibility & contrast

On white

4.51
#7E7478 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#7E7478 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7478
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7478#FFFFFF#000000##000000
##7E74781.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#757678
Deuteranopia (green-blind)
#777778
Tritanopia (blue-blind)
#807475
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7e7478;
/* rgb */ color: rgb(126, 116, 120);
/* oklch */ color: oklch(56.9% 0.014 351.3);
Tailwind
colors: {
  custom: {
    50: '#a39c9e',
    500: '#7e7478',
    950: '#000000',
  },
}
SCSS
$custom: #7e7478;
$custom-light: #a39c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7478",
  "rgb": {
    "r": 126,
    "g": 116,
    "b": 120
  },
  "hsl": {
    "h": 336,
    "s": 4.132,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56931,
    "c": 0.01368,
    "h": 351.3
  },
  "luminance": 0.18282
}

Semantic roles & 50–950 ramp

primary
#7E7478
secondary
#A4A9A7
accent
#AD997A
background
#FAF9F9
surface
#F3F2F2
border
#CDCCCC
text
#0F0E0E
muted
#7F7E7E

Preview Lab

Preview with #7E7478

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

Preview Lab → · Contrast checker → · Palette generator →

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