#514B4F#514B4F

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

Color values

HEX#514B4F
RGBrgb(81, 75, 79)
HSLhsl(320, 4%, 31%)
HSVhsv(320, 7%, 32%)
CMYKcmyk(0%, 7.4%, 2.5%, 68.2%)
CIE-LABlab(32.58, 3.33, -1.47)
CIE-LCHlch(32.58, 3.64, 336.14°)
OKLaboklab(42.01% 0.0095 -0.0039)
OKLCHoklch(42.01% 0.01 337.8)
XYZxyz(7.3205, 7.3461, 8.4279)
Luminance0.0735 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514B4F #4B514D
analogous
#504B51 #514B4F #514B4C
triadic
#514B4F #4F514B #4B4F51
tetradic
#514B4F #51504B #4B514D #4B4C51
square
#514B4F #51504B #4B514D #4B4C51
split-complementary
#514B4F #4C514B #4B5150
monochromatic
#111011 #312E30 #514B4F #71686E #90878D

Accessibility & contrast

On white

8.50
#514B4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #514B4F
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514B4F#FFFFFF#000000##FFFFFF
##514B4F1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #514b4f;
/* rgb */ color: rgb(81, 75, 79);
/* oklch */ color: oklch(42.0% 0.010 337.8);
Tailwind
colors: {
  custom: {
    50: '#817d80',
    500: '#514b4f',
    950: '#000000',
  },
}
SCSS
$custom: #514b4f;
$custom-light: #817d80;
$custom-dark: #000000;
JSON
{
  "hex": "#514b4f",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 79
  },
  "hsl": {
    "h": 320,
    "s": 3.846,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42007,
    "c": 0.01022,
    "h": 337.8
  },
  "luminance": 0.07346
}

Semantic roles & 50–950 ramp

primary
#514B4F
secondary
#797F7B
accent
#AD8C7B
background
#F7F7F7
surface
#EEEEEE
border
#C9C9C9
text
#0A090A
muted
#7C7B7C

Preview Lab

Preview with #514B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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