#514752#514752

#514752 is a dark, muted grey. Relative luminance 0.069; OKLCH L 41.2% C 0.022 H 323.1°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#514752
RGBrgb(81, 71, 82)
HSLhsl(295, 7%, 30%)
HSVhsv(295, 13%, 32%)
CMYKcmyk(1.2%, 13.4%, 0%, 67.8%)
CIE-LABlab(31.50, 6.53, -5.00)
CIE-LCHlch(31.50, 8.22, 322.57°)
OKLaboklab(41.2% 0.0178 -0.0133)
OKLCHoklch(41.2% 0.022 323.1)
XYZxyz(7.1694, 6.8651, 8.9284)
Luminance0.0687 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514752 #485247
analogous
#4B4752 #514752 #52474E
triadic
#514752 #525147 #475251
tetradic
#514752 #524B47 #485247 #474E52
square
#514752 #524B47 #485247 #474E52
split-complementary
#514752 #4E5247 #47524B
monochromatic
#100E10 #312B31 #514752 #716373 #918192

Accessibility & contrast

On white

8.85
#514752 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#514752 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514752
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514752#FFFFFF#000000##FFFFFF
##5147521.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464952
Deuteranopia (green-blind)
#484B52
Tritanopia (blue-blind)
#52484B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #514752;
/* rgb */ color: rgb(81, 71, 82);
/* oklch */ color: oklch(41.2% 0.022 323.1);
Tailwind
colors: {
  custom: {
    50: '#817a82',
    500: '#514752',
    950: '#000000',
  },
}
SCSS
$custom: #514752;
$custom-light: #817a82;
$custom-dark: #000000;
JSON
{
  "hex": "#514752",
  "rgb": {
    "r": 81,
    "g": 71,
    "b": 82
  },
  "hsl": {
    "h": 294.545,
    "s": 7.19,
    "l": 30
  },
  "oklch": {
    "l": 0.41195,
    "c": 0.02222,
    "h": 323.1
  },
  "luminance": 0.06865
}

Semantic roles & 50–950 ramp

primary
#514752
secondary
#758174
accent
#B0787D
background
#F7F7F7
surface
#EEEDEE
border
#C9C8C9
text
#0A090A
muted
#7C7B7C

Preview Lab

Preview with #514752

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

Preview Lab → · Contrast checker → · Palette generator →

#514752 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva