#515451#515451

#515451 is a dark, near-neutral grey. Relative luminance 0.087; OKLCH L 44.2% C 0.006 H 145.4°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#515451
RGBrgb(81, 84, 81)
HSLhsl(120, 2%, 32%)
HSVhsv(120, 4%, 33%)
CMYKcmyk(3.6%, 0%, 3.6%, 67.1%)
CIE-LABlab(35.37, -1.85, 1.33)
CIE-LCHlch(35.37, 2.28, 144.26°)
OKLaboklab(44.22% -0.0051 0.0035)
OKLCHoklch(44.22% 0.006 145.4)
XYZxyz(8.0486, 8.6840, 9.0351)
Luminance0.0868 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515451 #545154
analogous
#535451 #515451 #515453
triadic
#515451 #515154 #545151
tetradic
#515451 #515354 #545154 #545351
square
#515451 #515354 #545154 #545351
split-complementary
#515451 #535154 #545153
monochromatic
#151615 #333533 #515451 #6F736F #8E928E

Accessibility & contrast

On white

7.67
#515451 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#515451 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515451
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515451#FFFFFF#000000##FFFFFF
##5154511.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #515451;
/* rgb */ color: rgb(81, 84, 81);
/* oklch */ color: oklch(44.2% 0.006 145.4);
Tailwind
colors: {
  custom: {
    50: '#818481',
    500: '#515451',
    950: '#000000',
  },
}
SCSS
$custom: #515451;
$custom-light: #818481;
$custom-dark: #000000;
JSON
{
  "hex": "#515451",
  "rgb": {
    "r": 81,
    "g": 84,
    "b": 81
  },
  "hsl": {
    "h": 120,
    "s": 1.818,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44215,
    "c": 0.00617,
    "h": 145.4
  },
  "luminance": 0.08684
}

Semantic roles & 50–950 ramp

primary
#515451
secondary
#827F82
accent
#7DABAB
background
#F7F8F7
surface
#EEEFEE
border
#C9CAC9
text
#0A0A0A
muted
#7C7C7C

Preview Lab

Preview with #515451

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

Preview Lab → · Contrast checker → · Palette generator →

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