#515752#515752

#515752 is a dark, near-neutral grey. Relative luminance 0.092; OKLCH L 45.0% C 0.011 H 150.5°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#515752
RGBrgb(81, 87, 82)
HSLhsl(130, 4%, 33%)
HSVhsv(130, 7%, 34%)
CMYKcmyk(6.9%, 0%, 5.7%, 65.9%)
CIE-LABlab(36.32, -3.47, 2.08)
CIE-LCHlch(36.32, 4.05, 149.00°)
OKLaboklab(44.97% -0.0096 0.0055)
OKLCHoklch(44.97% 0.011 150.5)
XYZxyz(8.3242, 9.1748, 9.3134)
Luminance0.0917 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515752 #575156
analogous
#535751 #515752 #515755
triadic
#515752 #525157 #575251
tetradic
#515752 #515357 #575156 #575551
square
#515752 #515357 #575156 #575551
split-complementary
#515752 #555157 #575153
monochromatic
#161816 #333734 #515752 #6F7770 #8D958F

Accessibility & contrast

On white

7.41
#515752 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#515752 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515752
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515752#FFFFFF#000000##FFFFFF
##5157521.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575652
Deuteranopia (green-blind)
#565552
Tritanopia (blue-blind)
#505755
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #515752;
/* rgb */ color: rgb(81, 87, 82);
/* oklch */ color: oklch(45.0% 0.011 150.5);
Tailwind
colors: {
  custom: {
    50: '#818682',
    500: '#515752',
    950: '#000000',
  },
}
SCSS
$custom: #515752;
$custom-light: #818682;
$custom-dark: #000000;
JSON
{
  "hex": "#515752",
  "rgb": {
    "r": 81,
    "g": 87,
    "b": 82
  },
  "hsl": {
    "h": 130,
    "s": 3.571,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44974,
    "c": 0.01106,
    "h": 150.5
  },
  "luminance": 0.09175
}

Semantic roles & 50–950 ramp

primary
#515752
secondary
#857F84
accent
#7BA4AD
background
#F7F8F7
surface
#EEEFEE
border
#C9CAC9
text
#0A0B0A
muted
#7C7C7C

Preview Lab

Preview with #515752

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

Preview Lab → · Contrast checker → · Palette generator →

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