#8A8181#8A8181

#8A8181 is a mid, near-neutral grey. Relative luminance 0.227; OKLCH L 61.1% C 0.011 H 17.5°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8A8181
RGBrgb(138, 129, 129)
HSLhsl(0, 4%, 52%)
HSVhsv(0, 7%, 54%)
CMYKcmyk(0%, 6.5%, 6.5%, 45.9%)
CIE-LABlab(54.75, 3.40, 1.22)
CIE-LCHlch(54.75, 3.61, 19.79°)
OKLaboklab(61.12% 0.0104 0.0033)
OKLCHoklch(61.12% 0.011 17.5)
XYZxyz(22.2935, 22.6890, 23.9696)
Luminance0.2269 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8181 #818A8A
analogous
#8A8186 #8A8181 #8A8681
triadic
#8A8181 #818A81 #81818A
tetradic
#8A8181 #868A81 #818A8A #86818A
square
#8A8181 #868A81 #818A8A #86818A
split-complementary
#8A8181 #818A86 #81868A
monochromatic
#4B4646 #6B6363 #8A8181 #A7A1A1 #C5C0C0

Accessibility & contrast

On white

3.79
#8A8181 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#8A8181 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8181
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8181#FFFFFF#000000##000000
##8A81811.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#828281
Deuteranopia (green-blind)
#848481
Tritanopia (blue-blind)
#8C8081
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a8181;
/* rgb */ color: rgb(138, 129, 129);
/* oklch */ color: oklch(61.1% 0.011 17.5);
Tailwind
colors: {
  custom: {
    50: '#aca5a5',
    500: '#8a8181',
    950: '#000000',
  },
}
SCSS
$custom: #8a8181;
$custom-light: #aca5a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8181",
  "rgb": {
    "r": 138,
    "g": 129,
    "b": 129
  },
  "hsl": {
    "h": 0,
    "s": 3.704,
    "l": 52.353
  },
  "oklch": {
    "l": 0.61121,
    "c": 0.01093,
    "h": 17.5
  },
  "luminance": 0.22689
}

Semantic roles & 50–950 ramp

primary
#8A8181
secondary
#B1B5B5
accent
#ADAD7B
background
#FAFAFA
surface
#F4F4F4
border
#CECECE
text
#100F0F
muted
#7F7F7F

Preview Lab

Preview with #8A8181

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

Preview Lab → · Contrast checker → · Palette generator →

#8A8181 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva