#626166#626166

#626166 is a mid, near-neutral grey. Relative luminance 0.121; OKLCH L 49.5% C 0.008 H 295.3°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#626166
RGBrgb(98, 97, 102)
HSLhsl(252, 3%, 39%)
HSVhsv(252, 5%, 40%)
CMYKcmyk(3.9%, 4.9%, 0%, 60%)
CIE-LABlab(41.38, 1.45, -2.70)
CIE-LCHlch(41.38, 3.06, 298.30°)
OKLaboklab(49.52% 0.0034 -0.0072)
OKLCHoklch(49.52% 0.008 295.3)
XYZxyz(11.7095, 12.1054, 14.2875)
Luminance0.1211 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626166 #656661
analogous
#616366 #626166 #656166
triadic
#626166 #666261 #616662
tetradic
#626166 #666163 #656661 #616665
square
#626166 #666163 #656661 #616665
split-complementary
#626166 #666561 #636661
monochromatic
#262527 #444347 #626166 #807F85 #9F9EA3

Accessibility & contrast

On white

6.14
#626166 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#626166 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626166
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626166#FFFFFF#000000##FFFFFF
##6261661.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#606266
Deuteranopia (green-blind)
#606266
Tritanopia (blue-blind)
#616263
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #626166;
/* rgb */ color: rgb(98, 97, 102);
/* oklch */ color: oklch(49.5% 0.008 295.3);
Tailwind
colors: {
  custom: {
    50: '#8e8d91',
    500: '#626166',
    950: '#000000',
  },
}
SCSS
$custom: #626166;
$custom-light: #8e8d91;
$custom-dark: #000000;
JSON
{
  "hex": "#626166",
  "rgb": {
    "r": 98,
    "g": 97,
    "b": 102
  },
  "hsl": {
    "h": 252,
    "s": 2.513,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49522,
    "c": 0.00794,
    "h": 295.3
  },
  "luminance": 0.12105
}

Semantic roles & 50–950 ramp

primary
#626166
secondary
#93938F
accent
#AC7CA2
background
#F8F8F8
surface
#F0F0F0
border
#CBCBCB
text
#0C0C0C
muted
#7D7D7D

Preview Lab

Preview with #626166

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

Preview Lab → · Contrast checker → · Palette generator →

#626166 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva