#7D8A87#7D8A87

#7D8A87 is a light, near-neutral grey. Relative luminance 0.243; OKLCH L 62.2% C 0.016 H 180.4°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#7D8A87
RGBrgb(125, 138, 135)
HSLhsl(166, 5%, 52%)
HSVhsv(166, 9%, 54%)
CMYKcmyk(9.4%, 0%, 2.2%, 45.9%)
CIE-LABlab(56.37, -5.34, -0.01)
CIE-LCHlch(56.37, 5.34, 180.11°)
OKLaboklab(62.19% -0.0158 -0.0001)
OKLCHoklch(62.19% 0.016 180.4)
XYZxyz(21.9181, 24.2859, 26.4499)
Luminance0.2429 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8A87 #8A7D80
analogous
#7D8A81 #7D8A87 #7D878A
triadic
#7D8A87 #877D8A #8A877D
tetradic
#7D8A87 #817D8A #8A7D80 #878A7D
square
#7D8A87 #817D8A #8A7D80 #878A7D
split-complementary
#7D8A87 #8A7D87 #8A817D
monochromatic
#434A48 #606A68 #7D8A87 #9DA7A5 #BDC4C2

Accessibility & contrast

On white

3.59
#7D8A87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#7D8A87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8A87
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8A87#FFFFFF#000000##000000
##7D8A871.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#898887
Deuteranopia (green-blind)
#868687
Tritanopia (blue-blind)
#7A8B89
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7d8a87;
/* rgb */ color: rgb(125, 138, 135);
/* oklch */ color: oklch(62.2% 0.016 180.4);
Tailwind
colors: {
  custom: {
    50: '#a2aca9',
    500: '#7d8a87',
    950: '#000000',
  },
}
SCSS
$custom: #7d8a87;
$custom-light: #a2aca9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8a87",
  "rgb": {
    "r": 125,
    "g": 138,
    "b": 135
  },
  "hsl": {
    "h": 166.154,
    "s": 5.263,
    "l": 51.569
  },
  "oklch": {
    "l": 0.6219,
    "c": 0.0158,
    "h": 180.4
  },
  "luminance": 0.24286
}

Semantic roles & 50–950 ramp

primary
#7D8A87
secondary
#B4AFB0
accent
#7986AE
background
#FAFAFA
surface
#F3F4F4
border
#CDCECE
text
#0F1010
muted
#7F7F7F

Preview Lab

Preview with #7D8A87

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

Preview Lab → · Contrast checker → · Palette generator →

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