#514B4D#514B4D

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

Color values

HEX#514B4D
RGBrgb(81, 75, 77)
HSLhsl(340, 4%, 31%)
HSVhsv(340, 7%, 32%)
CMYKcmyk(0%, 7.4%, 4.9%, 68.2%)
CIE-LABlab(32.52, 2.90, -0.29)
CIE-LCHlch(32.52, 2.92, 354.32°)
OKLaboklab(41.94% 0.0086 -0.0007)
OKLCHoklch(41.94% 0.009 355.2)
XYZxyz(7.2488, 7.3174, 8.0503)
Luminance0.0732 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514B4D #4B514F
analogous
#514B50 #514B4D #514C4B
triadic
#514B4D #4D514B #4B4D51
tetradic
#514B4D #50514B #4B514F #4C4B51
square
#514B4D #50514B #4B514F #4C4B51
split-complementary
#514B4D #4B514C #4B5051
monochromatic
#111011 #312E2F #514B4D #71686B #90878A

Accessibility & contrast

On white

8.52
#514B4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #514B4D
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514B4D#FFFFFF#000000##FFFFFF
##514B4D1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4C4D
Deuteranopia (green-blind)
#4D4D4D
Tritanopia (blue-blind)
#524B4C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #514b4d;
/* rgb */ color: rgb(81, 75, 77);
/* oklch */ color: oklch(41.9% 0.009 355.2);
Tailwind
colors: {
  custom: {
    50: '#817d7e',
    500: '#514b4d',
    950: '#000000',
  },
}
SCSS
$custom: #514b4d;
$custom-light: #817d7e;
$custom-dark: #000000;
JSON
{
  "hex": "#514b4d",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 77
  },
  "hsl": {
    "h": 340,
    "s": 3.846,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41936,
    "c": 0.00859,
    "h": 355.2
  },
  "luminance": 0.07317
}

Semantic roles & 50–950 ramp

primary
#514B4D
secondary
#797F7D
accent
#AD9C7B
background
#F7F7F7
surface
#EEEEEE
border
#C9C9C9
text
#0A090A
muted
#7C7B7C

Preview Lab

Preview with #514B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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