#515952#515952

#515952 is a mid, near-neutral grey. Relative luminance 0.095; OKLCH L 45.5% C 0.015 H 149.0°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#515952
RGBrgb(81, 89, 82)
HSLhsl(128, 5%, 33%)
HSVhsv(128, 9%, 35%)
CMYKcmyk(9%, 0%, 7.9%, 65.1%)
CIE-LABlab(36.94, -4.68, 2.98)
CIE-LCHlch(36.94, 5.54, 147.54°)
OKLaboklab(45.46% -0.0129 0.0078)
OKLCHoklch(45.46% 0.015 149)
XYZxyz(8.4884, 9.5032, 9.3681)
Luminance0.0950 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515952 #595158
analogous
#545951 #515952 #515956
triadic
#515952 #525159 #595251
tetradic
#515952 #515459 #595158 #595651
square
#515952 #515459 #595158 #595651
split-complementary
#515952 #565159 #595154
monochromatic
#171917 #343934 #515952 #6E7970 #8D978E

Accessibility & contrast

On white

7.24
#515952 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#515952 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515952
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515952#FFFFFF#000000##FFFFFF
##5159521.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595752
Deuteranopia (green-blind)
#585752
Tritanopia (blue-blind)
#505957
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #515952;
/* rgb */ color: rgb(81, 89, 82);
/* oklch */ color: oklch(45.5% 0.015 149.0);
Tailwind
colors: {
  custom: {
    50: '#818782',
    500: '#515952',
    950: '#000000',
  },
}
SCSS
$custom: #515952;
$custom-light: #818782;
$custom-dark: #000000;
JSON
{
  "hex": "#515952",
  "rgb": {
    "r": 81,
    "g": 89,
    "b": 82
  },
  "hsl": {
    "h": 127.5,
    "s": 4.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45462,
    "c": 0.01508,
    "h": 149
  },
  "luminance": 0.09503
}

Semantic roles & 50–950 ramp

primary
#515952
secondary
#877F86
accent
#7AA7AE
background
#F7F8F7
surface
#EEEFEE
border
#C9CAC9
text
#0A0B0A
muted
#7C7C7C

Preview Lab

Preview with #515952

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

Preview Lab → · Contrast checker → · Palette generator →

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