#4E4751#4E4751

#4E4751 is a dark, near-neutral grey. Relative luminance 0.067; OKLCH L 40.8% C 0.019 H 315.8°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#4E4751
RGBrgb(78, 71, 81)
HSLhsl(282, 7%, 30%)
HSVhsv(282, 12%, 32%)
CMYKcmyk(3.7%, 12.3%, 0%, 68.2%)
CIE-LABlab(31.16, 5.10, -4.89)
CIE-LCHlch(31.16, 7.06, 316.20°)
OKLaboklab(40.85% 0.0135 -0.0131)
OKLCHoklch(40.85% 0.019 315.8)
XYZxyz(6.8801, 6.7203, 8.7177)
Luminance0.0672 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4751 #4A5147
analogous
#494751 #4E4751 #51474F
triadic
#4E4751 #514E47 #47514E
tetradic
#4E4751 #514947 #4A5147 #474F51
square
#4E4751 #514947 #4A5147 #474F51
split-complementary
#4E4751 #4F5147 #475149
monochromatic
#100E10 #2F2A30 #4E4751 #6D6472 #8C8191

Accessibility & contrast

On white

8.96
#4E4751 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#4E4751 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4751
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4751#FFFFFF#000000##FFFFFF
##4E47511.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464951
Deuteranopia (green-blind)
#474A51
Tritanopia (blue-blind)
#4E484A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4e4751;
/* rgb */ color: rgb(78, 71, 81);
/* oklch */ color: oklch(40.8% 0.019 315.8);
Tailwind
colors: {
  custom: {
    50: '#7f7a81',
    500: '#4e4751',
    950: '#000000',
  },
}
SCSS
$custom: #4e4751;
$custom-light: #7f7a81;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4751",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 81
  },
  "hsl": {
    "h": 282,
    "s": 6.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.4085,
    "c": 0.01876,
    "h": 315.8
  },
  "luminance": 0.0672
}

Semantic roles & 50–950 ramp

primary
#4E4751
secondary
#788074
accent
#B07889
background
#F7F7F7
surface
#EEEDEE
border
#C9C8C9
text
#0A090A
muted
#7C7B7C

Preview Lab

Preview with #4E4751

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

Preview Lab → · Contrast checker → · Palette generator →

#4E4751 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva