#6A6771#6A6771

#6A6771 is a mid, near-neutral grey. Relative luminance 0.140; OKLCH L 52.0% C 0.016 H 299.5°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#6A6771
RGBrgb(106, 103, 113)
HSLhsl(258, 5%, 42%)
HSVhsv(258, 9%, 44%)
CMYKcmyk(6.2%, 8.8%, 0%, 55.7%)
CIE-LABlab(44.17, 3.27, -5.18)
CIE-LCHlch(44.17, 6.13, 302.29°)
OKLaboklab(51.99% 0.0079 -0.0139)
OKLCHoklch(51.99% 0.016 299.5)
XYZxyz(13.7742, 13.9569, 17.5879)
Luminance0.1396 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6771 #6E7167
analogous
#676971 #6A6771 #6F6771
triadic
#6A6771 #716A67 #67716A
tetradic
#6A6771 #716769 #6E7167 #67716F
square
#6A6771 #716769 #6E7167 #67716F
split-complementary
#6A6771 #716F67 #697167
monochromatic
#2E2D31 #4C4A51 #6A6771 #888590 #A8A5AD

Accessibility & contrast

On white

5.54
#6A6771 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#6A6771 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6771
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6771#FFFFFF#000000##FFFFFF
##6A67711.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#656871
Deuteranopia (green-blind)
#666871
Tritanopia (blue-blind)
#69686A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6a6771;
/* rgb */ color: rgb(106, 103, 113);
/* oklch */ color: oklch(52.0% 0.016 299.5);
Tailwind
colors: {
  custom: {
    50: '#949299',
    500: '#6a6771',
    950: '#000000',
  },
}
SCSS
$custom: #6a6771;
$custom-light: #949299;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6771",
  "rgb": {
    "r": 106,
    "g": 103,
    "b": 113
  },
  "hsl": {
    "h": 258,
    "s": 4.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51994,
    "c": 0.01593,
    "h": 299.5
  },
  "luminance": 0.13957
}

Semantic roles & 50–950 ramp

primary
#6A6771
secondary
#9B9D97
accent
#AE7A9E
background
#F9F8F9
surface
#F1F0F2
border
#CBCBCC
text
#0D0D0E
muted
#7E7D7E

Preview Lab

Preview with #6A6771

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

Preview Lab → · Contrast checker → · Palette generator →

#6A6771 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva