#81817C#81817C

#81817C is a mid, near-neutral grey. Relative luminance 0.218; OKLCH L 60.2% C 0.007 H 106.7°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#81817C
RGBrgb(129, 129, 124)
HSLhsl(60, 2%, 50%)
HSVhsv(60, 4%, 51%)
CMYKcmyk(0%, 0%, 3.9%, 49.4%)
CIE-LABlab(53.84, -0.98, 2.71)
CIE-LCHlch(53.84, 2.88, 109.81°)
OKLaboklab(60.17% -0.0021 0.0071)
OKLCHoklch(60.17% 0.007 106.7)
XYZxyz(20.5411, 21.8229, 22.1950)
Luminance0.2182 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81817C #7C7C81
analogous
#817F7C #81817C #7F817C
triadic
#81817C #7C8181 #817C81
tetradic
#81817C #7C817F #7C7C81 #817C7F
square
#81817C #7C817F #7C7C81 #817C7F
split-complementary
#81817C #7C7F81 #7F7C81
monochromatic
#434340 #62625E #81817C #9F9F9B #BDBDBA

Accessibility & contrast

On white

3.91
#81817C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#81817C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #81817C
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81817C#FFFFFF#000000##000000
##81817C1.003.915.365.36
#FFFFFF3.911.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#82817C
Deuteranopia (green-blind)
#82817C
Tritanopia (blue-blind)
#828080
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #81817c;
/* rgb */ color: rgb(129, 129, 124);
/* oklch */ color: oklch(60.2% 0.007 106.7);
Tailwind
colors: {
  custom: {
    50: '#a5a5a1',
    500: '#81817c',
    950: '#000000',
  },
}
SCSS
$custom: #81817c;
$custom-light: #a5a5a1;
$custom-dark: #000000;
JSON
{
  "hex": "#81817c",
  "rgb": {
    "r": 129,
    "g": 129,
    "b": 124
  },
  "hsl": {
    "h": 60,
    "s": 1.976,
    "l": 49.608
  },
  "oklch": {
    "l": 0.6017,
    "c": 0.00743,
    "h": 106.7
  },
  "luminance": 0.21823
}

Semantic roles & 50–950 ramp

primary
#81817C
secondary
#ABABAE
accent
#7DAB7D
background
#FAFAF9
surface
#F4F4F2
border
#CECECC
text
#0F0F0F
muted
#7F7F7E

Preview Lab

Preview with #81817C

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

Preview Lab → · Contrast checker → · Palette generator →

#81817C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva