#4E5151#4E5151

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

Color values

HEX#4E5151
RGBrgb(78, 81, 81)
HSLhsl(180, 2%, 31%)
HSVhsv(180, 4%, 32%)
CMYKcmyk(3.7%, 0%, 0%, 68.2%)
CIE-LABlab(34.19, -1.21, -0.42)
CIE-LCHlch(34.19, 1.28, 199.22°)
OKLaboklab(43.22% -0.0037 -0.0011)
OKLCHoklch(43.22% 0.004 197)
XYZxyz(7.5692, 8.0986, 8.9474)
Luminance0.0810 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5151 #514E4E
analogous
#4E514F #4E5151 #4E4F51
triadic
#4E5151 #514E51 #51514E
tetradic
#4E5151 #4F4E51 #514E4E #4F514E
square
#4E5151 #4F4E51 #514E4E #4F514E
split-complementary
#4E5151 #514E4F #514F4E
monochromatic
#121313 #303232 #4E5151 #6C7070 #8B8F8F

Accessibility & contrast

On white

8.02
#4E5151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4E5151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4E5151#FFFFFF#000000##FFFFFF
##4E51511.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)
#515151
Deuteranopia (green-blind)
#505051
Tritanopia (blue-blind)
#4D5151
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e5151;
/* rgb */ color: rgb(78, 81, 81);
/* oklch */ color: oklch(43.2% 0.004 197.0);
Tailwind
colors: {
  custom: {
    50: '#7f8181',
    500: '#4e5151',
    950: '#000000',
  },
}
SCSS
$custom: #4e5151;
$custom-light: #7f8181;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5151",
  "rgb": {
    "r": 78,
    "g": 81,
    "b": 81
  },
  "hsl": {
    "h": 180,
    "s": 1.887,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43219,
    "c": 0.00389,
    "h": 197
  },
  "luminance": 0.08099
}

Semantic roles & 50–950 ramp

primary
#4E5151
secondary
#7F7C7C
accent
#7D7DAB
background
#F7F7F7
surface
#EEEEEE
border
#C9C9C9
text
#0A0A0A
muted
#7C7C7C

Preview Lab

Preview with #4E5151

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

Preview Lab → · Contrast checker → · Palette generator →

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