#515147#515147

#515147 is a dark, near-neutral grey. Relative luminance 0.081; OKLCH L 43.2% C 0.016 H 107.0°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#515147
RGBrgb(81, 81, 71)
HSLhsl(60, 7%, 30%)
HSVhsv(60, 12%, 32%)
CMYKcmyk(0%, 0%, 12.3%, 68.2%)
CIE-LABlab(34.17, -2.04, 5.89)
CIE-LCHlch(34.17, 6.24, 109.10°)
OKLaboklab(43.18% -0.0047 0.0153)
OKLCHoklch(43.18% 0.016 107)
XYZxyz(7.4730, 8.0892, 7.1277)
Luminance0.0809 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515147 #474751
analogous
#514C47 #515147 #4C5147
triadic
#515147 #475151 #514751
tetradic
#515147 #47514C #474751 #51474C
square
#515147 #47514C #474751 #51474C
split-complementary
#515147 #474C51 #4C4751
monochromatic
#10100E #30302A #515147 #727264 #919181

Accessibility & contrast

On white

8.02
#515147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#515147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515147
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515147#FFFFFF#000000##FFFFFF
##5151471.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535046
Deuteranopia (green-blind)
#535147
Tritanopia (blue-blind)
#53504E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #515147;
/* rgb */ color: rgb(81, 81, 71);
/* oklch */ color: oklch(43.2% 0.016 107.0);
Tailwind
colors: {
  custom: {
    50: '#81817a',
    500: '#515147',
    950: '#000000',
  },
}
SCSS
$custom: #515147;
$custom-light: #81817a;
$custom-dark: #000000;
JSON
{
  "hex": "#515147",
  "rgb": {
    "r": 81,
    "g": 81,
    "b": 71
  },
  "hsl": {
    "h": 60,
    "s": 6.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.43175,
    "c": 0.016,
    "h": 107
  },
  "luminance": 0.08089
}

Semantic roles & 50–950 ramp

primary
#515147
secondary
#747480
accent
#78B078
background
#F7F7F7
surface
#EEEEED
border
#C9C9C8
text
#0A0A09
muted
#7C7C7B

Preview Lab

Preview with #515147

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

Preview Lab → · Contrast checker → · Palette generator →

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