#575151#575151

#575151 is a dark, near-neutral grey. Relative luminance 0.085; OKLCH L 44.1% C 0.008 H 17.4°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#575151
RGBrgb(87, 81, 81)
HSLhsl(0, 4%, 33%)
HSVhsv(0, 7%, 34%)
CMYKcmyk(0%, 6.9%, 6.9%, 65.9%)
CIE-LABlab(35.01, 2.46, 0.88)
CIE-LCHlch(35.01, 2.61, 19.80°)
OKLaboklab(44.07% 0.0076 0.0024)
OKLCHoklch(44.07% 0.008 17.4)
XYZxyz(8.3579, 8.5053, 8.9844)
Luminance0.0851 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#575151 #515757
analogous
#575154 #575151 #575451
triadic
#575151 #515751 #515157
tetradic
#575151 #545751 #515757 #545157
square
#575151 #545751 #515757 #545157
split-complementary
#575151 #515754 #515457
monochromatic
#181616 #373333 #575151 #776F6F #958D8D

Accessibility & contrast

On white

7.77
#575151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#575151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #575151
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##575151#FFFFFF#000000##FFFFFF
##5751511.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525251
Deuteranopia (green-blind)
#535351
Tritanopia (blue-blind)
#585151
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #575151;
/* rgb */ color: rgb(87, 81, 81);
/* oklch */ color: oklch(44.1% 0.008 17.4);
Tailwind
colors: {
  custom: {
    50: '#868181',
    500: '#575151',
    950: '#000000',
  },
}
SCSS
$custom: #575151;
$custom-light: #868181;
$custom-dark: #000000;
JSON
{
  "hex": "#575151",
  "rgb": {
    "r": 87,
    "g": 81,
    "b": 81
  },
  "hsl": {
    "h": 0,
    "s": 3.571,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4407,
    "c": 0.00791,
    "h": 17.4
  },
  "luminance": 0.08505
}

Semantic roles & 50–950 ramp

primary
#575151
secondary
#7F8585
accent
#ADAD7B
background
#F8F7F7
surface
#EFEEEE
border
#CAC9C9
text
#0B0A0A
muted
#7C7C7C

Preview Lab

Preview with #575151

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

Preview Lab → · Contrast checker → · Palette generator →

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