#514D4E#514D4E

#514D4E is a dark, near-neutral grey. Relative luminance 0.076; OKLCH L 42.4% C 0.006 H 0.2°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#514D4E
RGBrgb(81, 77, 78)
HSLhsl(345, 3%, 31%)
HSVhsv(345, 5%, 32%)
CMYKcmyk(0%, 4.9%, 3.7%, 68.2%)
CIE-LABlab(33.15, 1.86, -0.00)
CIE-LCHlch(33.15, 1.86, 359.93°)
OKLaboklab(42.44% 0.0055 0)
OKLCHoklch(42.44% 0.006 0.2)
XYZxyz(7.4222, 7.6072, 8.2836)
Luminance0.0761 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514D4E #4D5150
analogous
#514D50 #514D4E #514E4D
triadic
#514D4E #4E514D #4D4E51
tetradic
#514D4E #50514D #4D5150 #4E4D51
square
#514D4E #50514D #4D5150 #4E4D51
split-complementary
#514D4E #4D514E #4D5051
monochromatic
#121112 #322F30 #514D4E #706B6C #8F898B

Accessibility & contrast

On white

8.33
#514D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#514D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514D4E
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514D4E#FFFFFF#000000##FFFFFF
##514D4E1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4E4E
Deuteranopia (green-blind)
#4E4E4E
Tritanopia (blue-blind)
#524D4D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #514d4e;
/* rgb */ color: rgb(81, 77, 78);
/* oklch */ color: oklch(42.4% 0.006 0.2);
Tailwind
colors: {
  custom: {
    50: '#817e7f',
    500: '#514d4e',
    950: '#000000',
  },
}
SCSS
$custom: #514d4e;
$custom-light: #817e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#514d4e",
  "rgb": {
    "r": 81,
    "g": 77,
    "b": 78
  },
  "hsl": {
    "h": 345,
    "s": 2.532,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42442,
    "c": 0.00552,
    "h": 0.2
  },
  "luminance": 0.07607
}

Semantic roles & 50–950 ramp

primary
#514D4E
secondary
#7B7F7E
accent
#ACA07C
background
#F7F7F7
surface
#EEEEEE
border
#C9C9C9
text
#0A0A0A
muted
#7C7C7C

Preview Lab

Preview with #514D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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