#595151#595151

#595151 is a dark, near-neutral grey. Relative luminance 0.086; OKLCH L 44.3% C 0.011 H 17.5°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#595151
RGBrgb(89, 81, 81)
HSLhsl(0, 5%, 33%)
HSVhsv(0, 9%, 35%)
CMYKcmyk(0%, 9%, 9%, 65.1%)
CIE-LABlab(35.21, 3.28, 1.19)
CIE-LCHlch(35.21, 3.49, 19.93°)
OKLaboklab(44.27% 0.0101 0.0032)
OKLCHoklch(44.27% 0.011 17.5)
XYZxyz(8.5473, 8.6029, 8.9932)
Luminance0.0860 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595151 #515959
analogous
#595155 #595151 #595551
triadic
#595151 #515951 #515159
tetradic
#595151 #555951 #515959 #555159
square
#595151 #555951 #515959 #555159
split-complementary
#595151 #515955 #515559
monochromatic
#191717 #393434 #595151 #796E6E #978D8D

Accessibility & contrast

On white

7.72
#595151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#595151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #595151
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595151#FFFFFF#000000##FFFFFF
##5951511.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525251
Deuteranopia (green-blind)
#545351
Tritanopia (blue-blind)
#5B5051
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #595151;
/* rgb */ color: rgb(89, 81, 81);
/* oklch */ color: oklch(44.3% 0.011 17.5);
Tailwind
colors: {
  custom: {
    50: '#888181',
    500: '#595151',
    950: '#000000',
  },
}
SCSS
$custom: #595151;
$custom-light: #888181;
$custom-dark: #000000;
JSON
{
  "hex": "#595151",
  "rgb": {
    "r": 89,
    "g": 81,
    "b": 81
  },
  "hsl": {
    "h": 0,
    "s": 4.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4427,
    "c": 0.01058,
    "h": 17.5
  },
  "luminance": 0.08603
}

Semantic roles & 50–950 ramp

primary
#595151
secondary
#7F8787
accent
#AEAE7A
background
#F8F7F7
surface
#EFEEEE
border
#CAC9C9
text
#0B0A0A
muted
#7C7C7C

Preview Lab

Preview with #595151

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

Preview Lab → · Contrast checker → · Palette generator →

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