#7E7872#7E7872

#7E7872 is a mid, near-neutral grey. Relative luminance 0.191; OKLCH L 57.6% C 0.012 H 67.6°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#7E7872
RGBrgb(126, 120, 114)
HSLhsl(30, 5%, 47%)
HSVhsv(30, 10%, 49%)
CMYKcmyk(0%, 4.8%, 9.5%, 50.6%)
CIE-LABlab(50.78, 1.15, 4.11)
CIE-LCHlch(50.78, 4.27, 74.31°)
OKLaboklab(57.62% 0.0045 0.0108)
OKLCHoklch(57.62% 0.012 67.6)
XYZxyz(18.3576, 19.0837, 18.6328)
Luminance0.1908 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7872 #72787E
analogous
#7E7272 #7E7872 #7E7E72
triadic
#7E7872 #727E78 #78727E
tetradic
#7E7872 #727E72 #72787E #7E727E
square
#7E7872 #727E72 #72787E #7E727E
split-complementary
#7E7872 #727E7E #72727E
monochromatic
#3E3B38 #5E5955 #7E7872 #9C9791 #B9B5B2

Accessibility & contrast

On white

4.36
#7E7872 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#7E7872 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7872
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7872#FFFFFF#000000##000000
##7E78721.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A7872
Deuteranopia (green-blind)
#7C7972
Tritanopia (blue-blind)
#807776
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7e7872;
/* rgb */ color: rgb(126, 120, 114);
/* oklch */ color: oklch(57.6% 0.012 67.6);
Tailwind
colors: {
  custom: {
    50: '#a39e9a',
    500: '#7e7872',
    950: '#000000',
  },
}
SCSS
$custom: #7e7872;
$custom-light: #a39e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7872",
  "rgb": {
    "r": 126,
    "g": 120,
    "b": 114
  },
  "hsl": {
    "h": 30,
    "s": 5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57618,
    "c": 0.01169,
    "h": 67.6
  },
  "luminance": 0.19083
}

Semantic roles & 50–950 ramp

primary
#7E7872
secondary
#A3A6A9
accent
#94AE7A
background
#FAF9F9
surface
#F3F2F2
border
#CDCCCC
text
#0F0E0E
muted
#7F7E7E

Preview Lab

Preview with #7E7872

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

Preview Lab → · Contrast checker → · Palette generator →

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