#514B4B#514B4B

#514B4B is a dark, near-neutral grey. Relative luminance 0.073; OKLCH L 41.9% C 0.008 H 17.5°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#514B4B
RGBrgb(81, 75, 75)
HSLhsl(0, 4%, 31%)
HSVhsv(0, 7%, 32%)
CMYKcmyk(0%, 7.4%, 7.4%, 68.2%)
CIE-LABlab(32.46, 2.49, 0.90)
CIE-LCHlch(32.46, 2.65, 19.82°)
OKLaboklab(41.87% 0.0077 0.0024)
OKLCHoklch(41.87% 0.008 17.5)
XYZxyz(7.1793, 7.2896, 7.6841)
Luminance0.0729 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514B4B #4B5151
analogous
#514B4E #514B4B #514E4B
triadic
#514B4B #4B514B #4B4B51
tetradic
#514B4B #4E514B #4B5151 #4E4B51
square
#514B4B #4E514B #4B5151 #4E4B51
split-complementary
#514B4B #4B514E #4B4E51
monochromatic
#111010 #312E2E #514B4B #716868 #908787

Accessibility & contrast

On white

8.54
#514B4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#514B4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514B4B
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514B4B#FFFFFF#000000##FFFFFF
##514B4B1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4C4B
Deuteranopia (green-blind)
#4D4D4B
Tritanopia (blue-blind)
#524B4B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #514b4b;
/* rgb */ color: rgb(81, 75, 75);
/* oklch */ color: oklch(41.9% 0.008 17.5);
Tailwind
colors: {
  custom: {
    50: '#817d7d',
    500: '#514b4b',
    950: '#000000',
  },
}
SCSS
$custom: #514b4b;
$custom-light: #817d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#514b4b",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 75
  },
  "hsl": {
    "h": 0,
    "s": 3.846,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41868,
    "c": 0.00802,
    "h": 17.5
  },
  "luminance": 0.07289
}

Semantic roles & 50–950 ramp

primary
#514B4B
secondary
#797F7F
accent
#ADAD7B
background
#F7F7F7
surface
#EEEEEE
border
#C9C9C9
text
#0A0909
muted
#7C7B7B

Preview Lab

Preview with #514B4B

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

Preview Lab → · Contrast checker → · Palette generator →

#514B4B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva