#514F4E#514F4E

#514F4E is a dark, near-neutral grey. Relative luminance 0.079; OKLCH L 42.9% C 0.003 H 48.7°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#514F4E
RGBrgb(81, 79, 78)
HSLhsl(20, 2%, 31%)
HSVhsv(20, 4%, 32%)
CMYKcmyk(0%, 2.5%, 3.7%, 68.2%)
CIE-LABlab(33.76, 0.61, 0.88)
CIE-LCHlch(33.76, 1.07, 55.42°)
OKLaboklab(42.92% 0.0021 0.0023)
OKLCHoklch(42.92% 0.003 48.7)
XYZxyz(7.5643, 7.8914, 8.3309)
Luminance0.0789 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514F4E #4E5051
analogous
#514E4E #514F4E #51504E
triadic
#514F4E #4E514F #4F4E51
tetradic
#514F4E #4E514E #4E5051 #504E51
square
#514F4E #4E514E #4E5051 #504E51
split-complementary
#514F4E #4E5150 #4E4E51
monochromatic
#131212 #323130 #514F4E #706D6C #8F8C8B

Accessibility & contrast

On white

8.15
#514F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#514F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514F4E
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514F4E#FFFFFF#000000##FFFFFF
##514F4E1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504F4E
Deuteranopia (green-blind)
#50504E
Tritanopia (blue-blind)
#524F4F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #514f4e;
/* rgb */ color: rgb(81, 79, 78);
/* oklch */ color: oklch(42.9% 0.003 48.7);
Tailwind
colors: {
  custom: {
    50: '#81807f',
    500: '#514f4e',
    950: '#000000',
  },
}
SCSS
$custom: #514f4e;
$custom-light: #81807f;
$custom-dark: #000000;
JSON
{
  "hex": "#514f4e",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 78
  },
  "hsl": {
    "h": 20,
    "s": 1.887,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42916,
    "c": 0.0031,
    "h": 48.7
  },
  "luminance": 0.07891
}

Semantic roles & 50–950 ramp

primary
#514F4E
secondary
#7C7E7F
accent
#9CAB7D
background
#F7F7F7
surface
#EEEEEE
border
#C9C9C9
text
#0A0A0A
muted
#7C7C7C

Preview Lab

Preview with #514F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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