#7E7276#7E7276

#7E7276 is a mid, near-neutral grey. Relative luminance 0.178; OKLCH L 56.4% C 0.016 H 355.4°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#7E7276
RGBrgb(126, 114, 118)
HSLhsl(340, 5%, 47%)
HSVhsv(340, 10%, 49%)
CMYKcmyk(0%, 9.5%, 6.3%, 50.6%)
CIE-LABlab(49.23, 5.40, -0.52)
CIE-LCHlch(49.23, 5.43, 354.55°)
OKLaboklab(56.43% 0.016 -0.0013)
OKLCHoklch(56.43% 0.016 355.4)
XYZxyz(17.8912, 17.7785, 19.6251)
Luminance0.1778 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7276 #727E7A
analogous
#7E727C #7E7276 #7E7472
triadic
#7E7276 #767E72 #72767E
tetradic
#7E7276 #7C7E72 #727E7A #74727E
square
#7E7276 #7C7E72 #727E7A #74727E
split-complementary
#7E7276 #727E74 #727C7E
monochromatic
#3E383A #5E5558 #7E7276 #9C9195 #B9B2B4

Accessibility & contrast

On white

4.61
#7E7276 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#7E7276 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7E7276
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7276#FFFFFF#000000##FFFFFF
##7E72761.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#737476
Deuteranopia (green-blind)
#767676
Tritanopia (blue-blind)
#807273
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7e7276;
/* rgb */ color: rgb(126, 114, 118);
/* oklch */ color: oklch(56.4% 0.016 355.4);
Tailwind
colors: {
  custom: {
    50: '#a39a9d',
    500: '#7e7276',
    950: '#000000',
  },
}
SCSS
$custom: #7e7276;
$custom-light: #a39a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7276",
  "rgb": {
    "r": 126,
    "g": 114,
    "b": 118
  },
  "hsl": {
    "h": 340,
    "s": 5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56434,
    "c": 0.016,
    "h": 355.4
  },
  "luminance": 0.17778
}

Semantic roles & 50–950 ramp

primary
#7E7276
secondary
#A3A9A7
accent
#AE9D7A
background
#FAF9F9
surface
#F3F2F2
border
#CDCCCC
text
#0F0E0E
muted
#7F7E7E

Preview Lab

Preview with #7E7276

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

Preview Lab → · Contrast checker → · Palette generator →

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