#514B4E#514B4E

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

Color values

HEX#514B4E
RGBrgb(81, 75, 78)
HSLhsl(330, 4%, 31%)
HSVhsv(330, 7%, 32%)
CMYKcmyk(0%, 7.4%, 3.7%, 68.2%)
CIE-LABlab(32.55, 3.12, -0.88)
CIE-LCHlch(32.55, 3.24, 344.21°)
OKLaboklab(41.97% 0.009 -0.0023)
OKLCHoklch(41.97% 0.009 345.7)
XYZxyz(7.2844, 7.3316, 8.2376)
Luminance0.0733 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514B4E #4B514E
analogous
#514B51 #514B4E #514B4B
triadic
#514B4E #4E514B #4B4E51
tetradic
#514B4E #51514B #4B514E #4B4B51
square
#514B4E #51514B #4B514E #4B4B51
split-complementary
#514B4E #4B514B #4B5151
monochromatic
#111011 #312E2F #514B4E #71686D #90878B

Accessibility & contrast

On white

8.51
#514B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#514B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514B4E
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514B4E#FFFFFF#000000##FFFFFF
##514B4E1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #514b4e;
/* rgb */ color: rgb(81, 75, 78);
/* oklch */ color: oklch(42.0% 0.009 345.7);
Tailwind
colors: {
  custom: {
    50: '#817d7f',
    500: '#514b4e',
    950: '#000000',
  },
}
SCSS
$custom: #514b4e;
$custom-light: #817d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#514b4e",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 78
  },
  "hsl": {
    "h": 330,
    "s": 3.846,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41971,
    "c": 0.0093,
    "h": 345.7
  },
  "luminance": 0.07332
}

Semantic roles & 50–950 ramp

primary
#514B4E
secondary
#797F7C
accent
#AD947B
background
#F7F7F7
surface
#EEEEEE
border
#C9C9C9
text
#0A090A
muted
#7C7B7C

Preview Lab

Preview with #514B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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