#7E7076#7E7076

#7E7076 is a mid, near-neutral grey. Relative luminance 0.173; OKLCH L 56.0% C 0.020 H 350.0°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#7E7076
RGBrgb(126, 112, 118)
HSLhsl(334, 6%, 47%)
HSVhsv(334, 11%, 49%)
CMYKcmyk(0%, 11.1%, 6.3%, 50.6%)
CIE-LABlab(48.68, 6.58, -1.32)
CIE-LCHlch(48.68, 6.71, 348.65°)
OKLaboklab(56.01% 0.0193 -0.0034)
OKLCHoklch(56.01% 0.02 350)
XYZxyz(17.6680, 17.3323, 19.5507)
Luminance0.1733 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7076 #707E78
analogous
#7E707D #7E7076 #7E7170
triadic
#7E7076 #767E70 #70767E
tetradic
#7E7076 #7D7E70 #707E78 #71707E
square
#7E7076 #7D7E70 #707E78 #71707E
split-complementary
#7E7076 #707E71 #707D7E
monochromatic
#3D3639 #5E5358 #7E7076 #9C8F95 #B9B0B4

Accessibility & contrast

On white

4.70
#7E7076 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#7E7076 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E7076
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7076#FFFFFF#000000##FFFFFF
##7E70761.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#717276
Deuteranopia (green-blind)
#747476
Tritanopia (blue-blind)
#807072
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7e7076;
/* rgb */ color: rgb(126, 112, 118);
/* oklch */ color: oklch(56.0% 0.020 350.0);
Tailwind
colors: {
  custom: {
    50: '#a3999d',
    500: '#7e7076',
    950: '#000000',
  },
}
SCSS
$custom: #7e7076;
$custom-light: #a3999d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7076",
  "rgb": {
    "r": 126,
    "g": 112,
    "b": 118
  },
  "hsl": {
    "h": 334.286,
    "s": 5.882,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56005,
    "c": 0.01955,
    "h": 350
  },
  "luminance": 0.17332
}

Semantic roles & 50–950 ramp

primary
#7E7076
secondary
#A1A9A5
accent
#AF9879
background
#FAF9F9
surface
#F3F2F2
border
#CDCCCC
text
#0F0D0E
muted
#7F7E7E

Preview Lab

Preview with #7E7076

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

Preview Lab → · Contrast checker → · Palette generator →

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