#686271#686271

#686271 is a mid, muted grey. Relative luminance 0.129; OKLCH L 50.7% C 0.025 H 303.7°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#686271
RGBrgb(104, 98, 113)
HSLhsl(264, 7%, 41%)
HSVhsv(264, 13%, 44%)
CMYKcmyk(8%, 13.3%, 0%, 55.7%)
CIE-LABlab(42.57, 5.54, -7.59)
CIE-LCHlch(42.57, 9.40, 306.15°)
OKLaboklab(50.7% 0.0136 -0.0204)
OKLCHoklch(50.7% 0.025 303.7)
XYZxyz(13.0567, 12.8707, 17.4160)
Luminance0.1287 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686271 #6B7162
analogous
#626471 #686271 #706271
triadic
#686271 #716862 #627168
tetradic
#686271 #716264 #6B7162 #627170
square
#686271 #716264 #6B7162 #627170
split-complementary
#686271 #717062 #647162
monochromatic
#2C292F #4A4650 #686271 #868091 #A5A0AD

Accessibility & contrast

On white

5.88
#686271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#686271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686271
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686271#FFFFFF#000000##FFFFFF
##6862711.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#606472
Deuteranopia (green-blind)
#616471
Tritanopia (blue-blind)
#676467
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #686271;
/* rgb */ color: rgb(104, 98, 113);
/* oklch */ color: oklch(50.7% 0.025 303.7);
Tailwind
colors: {
  custom: {
    50: '#938e99',
    500: '#686271',
    950: '#000000',
  },
}
SCSS
$custom: #686271;
$custom-light: #938e99;
$custom-dark: #000000;
JSON
{
  "hex": "#686271",
  "rgb": {
    "r": 104,
    "g": 98,
    "b": 113
  },
  "hsl": {
    "h": 264,
    "s": 7.109,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50698,
    "c": 0.02451,
    "h": 303.7
  },
  "luminance": 0.12871
}

Semantic roles & 50–950 ramp

primary
#686271
secondary
#989D92
accent
#B0789A
background
#F9F8F9
surface
#F1F0F2
border
#CBCBCC
text
#0D0C0E
muted
#7E7D7E

Preview Lab

Preview with #686271

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

Preview Lab → · Contrast checker → · Palette generator →

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