#514751#514751

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

Color values

HEX#514751
RGBrgb(81, 71, 81)
HSLhsl(300, 7%, 30%)
HSVhsv(300, 12%, 32%)
CMYKcmyk(0%, 12.3%, 0%, 68.2%)
CIE-LABlab(31.46, 6.31, -4.41)
CIE-LCHlch(31.46, 7.69, 325.06°)
OKLaboklab(41.16% 0.0174 -0.0117)
OKLCHoklch(41.16% 0.021 326)
XYZxyz(7.1316, 6.8500, 8.7295)
Luminance0.0685 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514751 #475147
analogous
#4C4751 #514751 #51474C
triadic
#514751 #515147 #475151
tetradic
#514751 #514C47 #475147 #474C51
square
#514751 #514C47 #475147 #474C51
split-complementary
#514751 #4C5147 #47514C
monochromatic
#100E10 #302A30 #514751 #726472 #918191

Accessibility & contrast

On white

8.86
#514751 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #514751
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514751#FFFFFF#000000##FFFFFF
##5147511.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464951
Deuteranopia (green-blind)
#484A51
Tritanopia (blue-blind)
#52484A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #514751;
/* rgb */ color: rgb(81, 71, 81);
/* oklch */ color: oklch(41.2% 0.021 326.0);
Tailwind
colors: {
  custom: {
    50: '#817a81',
    500: '#514751',
    950: '#000000',
  },
}
SCSS
$custom: #514751;
$custom-light: #817a81;
$custom-dark: #000000;
JSON
{
  "hex": "#514751",
  "rgb": {
    "r": 81,
    "g": 71,
    "b": 81
  },
  "hsl": {
    "h": 300,
    "s": 6.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41156,
    "c": 0.02095,
    "h": 326
  },
  "luminance": 0.0685
}

Semantic roles & 50–950 ramp

primary
#514751
secondary
#748074
accent
#B07878
background
#F7F7F7
surface
#EEEDEE
border
#C9C8C9
text
#0A090A
muted
#7C7B7C

Preview Lab

Preview with #514751

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

Preview Lab → · Contrast checker → · Palette generator →

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