#4C5052#4C5052

#4C5052 is a dark, near-neutral grey. Relative luminance 0.079; OKLCH L 42.8% C 0.006 H 228.9°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#4C5052
RGBrgb(76, 80, 82)
HSLhsl(200, 4%, 31%)
HSVhsv(200, 7%, 32%)
CMYKcmyk(7.3%, 2.4%, 0%, 67.8%)
CIE-LABlab(33.74, -1.16, -1.73)
CIE-LCHlch(33.74, 2.08, 236.28°)
OKLaboklab(42.83% -0.004 -0.0046)
OKLCHoklch(42.83% 0.006 228.9)
XYZxyz(7.3718, 7.8829, 9.1142)
Luminance0.0788 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5052 #524E4C
analogous
#4C5251 #4C5052 #4C4D52
triadic
#4C5052 #524C50 #50524C
tetradic
#4C5052 #514C52 #524E4C #4D524C
square
#4C5052 #514C52 #524E4C #4D524C
split-complementary
#4C5052 #524C4D #52514C
monochromatic
#111212 #2F3132 #4C5052 #696F72 #888E91

Accessibility & contrast

On white

8.15
#4C5052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4C5052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C5052
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5052#FFFFFF#000000##FFFFFF
##4C50521.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5052
Deuteranopia (green-blind)
#4E4F52
Tritanopia (blue-blind)
#4B5151
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4c5052;
/* rgb */ color: rgb(76, 80, 82);
/* oklch */ color: oklch(42.8% 0.006 228.9);
Tailwind
colors: {
  custom: {
    50: '#7e8182',
    500: '#4c5052',
    950: '#000000',
  },
}
SCSS
$custom: #4c5052;
$custom-light: #7e8182;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5052",
  "rgb": {
    "r": 76,
    "g": 80,
    "b": 82
  },
  "hsl": {
    "h": 200,
    "s": 3.797,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42833,
    "c": 0.00617,
    "h": 228.9
  },
  "luminance": 0.07883
}

Semantic roles & 50–950 ramp

primary
#4C5052
secondary
#807C7A
accent
#8C7BAD
background
#F7F7F7
surface
#EEEEEE
border
#C9C9C9
text
#090A0A
muted
#7B7C7C

Preview Lab

Preview with #4C5052

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

Preview Lab → · Contrast checker → · Palette generator →

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