#565157#565157

#565157 is a dark, near-neutral grey. Relative luminance 0.086; OKLCH L 44.2% C 0.012 H 320.6°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#565157
RGBrgb(86, 81, 87)
HSLhsl(290, 4%, 33%)
HSVhsv(290, 7%, 34%)
CMYKcmyk(1.1%, 6.9%, 0%, 65.9%)
CIE-LABlab(35.11, 3.31, -2.77)
CIE-LCHlch(35.11, 4.32, 320.08°)
OKLaboklab(44.18% 0.009 -0.0074)
OKLCHoklch(44.18% 0.012 320.6)
XYZxyz(8.5002, 8.5515, 10.2178)
Luminance0.0855 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565157 #525751
analogous
#535157 #565157 #575155
triadic
#565157 #575651 #515756
tetradic
#565157 #575351 #525751 #515557
square
#565157 #575351 #525751 #515557
split-complementary
#565157 #555751 #515753
monochromatic
#171618 #373337 #565157 #756F77 #948D95

Accessibility & contrast

On white

7.75
#565157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#565157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #565157
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565157#FFFFFF#000000##FFFFFF
##5651571.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515257
Deuteranopia (green-blind)
#515357
Tritanopia (blue-blind)
#565253
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #565157;
/* rgb */ color: rgb(86, 81, 87);
/* oklch */ color: oklch(44.2% 0.012 320.6);
Tailwind
colors: {
  custom: {
    50: '#858186',
    500: '#565157',
    950: '#000000',
  },
}
SCSS
$custom: #565157;
$custom-light: #858186;
$custom-dark: #000000;
JSON
{
  "hex": "#565157",
  "rgb": {
    "r": 86,
    "g": 81,
    "b": 87
  },
  "hsl": {
    "h": 290,
    "s": 3.571,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44182,
    "c": 0.01159,
    "h": 320.6
  },
  "luminance": 0.08551
}

Semantic roles & 50–950 ramp

primary
#565157
secondary
#80857F
accent
#AD7B83
background
#F8F7F8
surface
#EFEEEF
border
#CAC9CA
text
#0B0A0B
muted
#7C7C7C

Preview Lab

Preview with #565157

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

Preview Lab → · Contrast checker → · Palette generator →

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