#827E7E#827E7E

#827E7E is a mid, near-neutral grey. Relative luminance 0.212; OKLCH L 59.7% C 0.005 H 17.2°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#827E7E
RGBrgb(130, 126, 126)
HSLhsl(0, 2%, 50%)
HSVhsv(0, 3%, 51%)
CMYKcmyk(0%, 3.1%, 3.1%, 49%)
CIE-LABlab(53.14, 1.51, 0.54)
CIE-LCHlch(53.14, 1.60, 19.59°)
OKLaboklab(59.66% 0.0046 0.0014)
OKLCHoklch(59.66% 0.005 17.2)
XYZxyz(20.4321, 21.1740, 22.7452)
Luminance0.2117 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#827E7E #7E8282
analogous
#827E80 #827E7E #82807E
triadic
#827E7E #7E827E #7E7E82
tetradic
#827E7E #80827E #7E8282 #807E82
square
#827E7E #80827E #7E8282 #807E82
split-complementary
#827E7E #7E8280 #7E8082
monochromatic
#444242 #636060 #827E7E #A09D9D #BEBCBC

Accessibility & contrast

On white

4.01
#827E7E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#827E7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #827E7E
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##827E7E#FFFFFF#000000##000000
##827E7E1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F7E7E
Deuteranopia (green-blind)
#7F7F7E
Tritanopia (blue-blind)
#837E7E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #827e7e;
/* rgb */ color: rgb(130, 126, 126);
/* oklch */ color: oklch(59.7% 0.005 17.2);
Tailwind
colors: {
  custom: {
    50: '#a6a3a3',
    500: '#827e7e',
    950: '#000000',
  },
}
SCSS
$custom: #827e7e;
$custom-light: #a6a3a3;
$custom-dark: #000000;
JSON
{
  "hex": "#827e7e",
  "rgb": {
    "r": 130,
    "g": 126,
    "b": 126
  },
  "hsl": {
    "h": 0,
    "s": 1.575,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5966,
    "c": 0.00486,
    "h": 17.2
  },
  "luminance": 0.21174
}

Semantic roles & 50–950 ramp

primary
#827E7E
secondary
#ADAFAF
accent
#ABAB7D
background
#FAFAFA
surface
#F4F3F3
border
#CECDCD
text
#0F0F0F
muted
#7F7F7F

Preview Lab

Preview with #827E7E

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

Preview Lab → · Contrast checker → · Palette generator →

#827E7E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva