#515352#515352

#515352 is a dark, near-neutral grey. Relative luminance 0.085; OKLCH L 44.0% C 0.003 H 164.9°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#515352
RGBrgb(81, 83, 82)
HSLhsl(150, 1%, 32%)
HSVhsv(150, 2%, 33%)
CMYKcmyk(2.4%, 0%, 1.2%, 67.5%)
CIE-LABlab(35.09, -1.02, 0.30)
CIE-LCHlch(35.09, 1.07, 163.48°)
OKLaboklab(44.01% -0.0029 0.0008)
OKLCHoklch(44.01% 0.003 164.9)
XYZxyz(8.0093, 8.5450, 9.2084)
Luminance0.0854 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515352 #535152
analogous
#515351 #515352 #515353
triadic
#515352 #525153 #535251
tetradic
#515352 #515153 #535152 #535351
square
#515352 #515153 #535152 #535351
split-complementary
#515352 #535153 #535151
monochromatic
#151515 #333433 #515352 #6F7271 #8E918F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##515352#FFFFFF#000000##FFFFFF
##5153521.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)
#535352
Deuteranopia (green-blind)
#535252
Tritanopia (blue-blind)
#515353
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #515352;
/* rgb */ color: rgb(81, 83, 82);
/* oklch */ color: oklch(44.0% 0.003 164.9);
Tailwind
colors: {
  custom: {
    50: '#818382',
    500: '#515352',
    950: '#000000',
  },
}
SCSS
$custom: #515352;
$custom-light: #818382;
$custom-dark: #000000;
JSON
{
  "hex": "#515352",
  "rgb": {
    "r": 81,
    "g": 83,
    "b": 82
  },
  "hsl": {
    "h": 150,
    "s": 1.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44008,
    "c": 0.00303,
    "h": 164.9
  },
  "luminance": 0.08545
}

Semantic roles & 50–950 ramp

primary
#515352
secondary
#817F80
accent
#7D94AA
background
#F7F8F7
surface
#EEEFEE
border
#C9CAC9
text
#0A0A0A
muted
#7C7C7C

Preview Lab

Preview with #515352

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

Preview Lab → · Contrast checker → · Palette generator →

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