#514E4E#514E4E

#514E4E is a dark, near-neutral grey. Relative luminance 0.077; OKLCH L 42.7% C 0.004 H 17.3°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#514E4E
RGBrgb(81, 78, 78)
HSLhsl(0, 2%, 31%)
HSVhsv(0, 4%, 32%)
CMYKcmyk(0%, 3.7%, 3.7%, 68.2%)
CIE-LABlab(33.45, 1.23, 0.44)
CIE-LCHlch(33.45, 1.31, 19.60°)
OKLaboklab(42.68% 0.0038 0.0012)
OKLCHoklch(42.68% 0.004 17.3)
XYZxyz(7.4927, 7.7482, 8.3071)
Luminance0.0775 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514E4E #4E5151
analogous
#514E4F #514E4E #514F4E
triadic
#514E4E #4E514E #4E4E51
tetradic
#514E4E #4F514E #4E5151 #4F4E51
square
#514E4E #4F514E #4E5151 #4F4E51
split-complementary
#514E4E #4E514F #4E4F51
monochromatic
#131212 #323030 #514E4E #706C6C #8F8B8B

Accessibility & contrast

On white

8.24
#514E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#514E4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514E4E
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514E4E#FFFFFF#000000##FFFFFF
##514E4E1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4E4E
Deuteranopia (green-blind)
#4F4F4E
Tritanopia (blue-blind)
#524E4E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #514e4e;
/* rgb */ color: rgb(81, 78, 78);
/* oklch */ color: oklch(42.7% 0.004 17.3);
Tailwind
colors: {
  custom: {
    50: '#817f7f',
    500: '#514e4e',
    950: '#000000',
  },
}
SCSS
$custom: #514e4e;
$custom-light: #817f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#514e4e",
  "rgb": {
    "r": 81,
    "g": 78,
    "b": 78
  },
  "hsl": {
    "h": 0,
    "s": 1.887,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42678,
    "c": 0.00396,
    "h": 17.3
  },
  "luminance": 0.07748
}

Semantic roles & 50–950 ramp

primary
#514E4E
secondary
#7C7F7F
accent
#ABAB7D
background
#F7F7F7
surface
#EEEEEE
border
#C9C9C9
text
#0A0A0A
muted
#7C7C7C

Preview Lab

Preview with #514E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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