#4A5052#4A5052

#4A5052 is a dark, near-neutral grey. Relative luminance 0.078; OKLCH L 42.7% C 0.008 H 219.7°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#4A5052
RGBrgb(74, 80, 82)
HSLhsl(195, 5%, 31%)
HSVhsv(195, 10%, 32%)
CMYKcmyk(9.8%, 2.4%, 0%, 67.8%)
CIE-LABlab(33.57, -1.94, -2.00)
CIE-LCHlch(33.57, 2.79, 225.88°)
OKLaboklab(42.66% -0.0065 -0.0054)
OKLCHoklch(42.66% 0.008 219.7)
XYZxyz(7.2154, 7.8023, 9.1069)
Luminance0.0780 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5052 #524C4A
analogous
#4A5250 #4A5052 #4A4C52
triadic
#4A5052 #524A50 #50524A
tetradic
#4A5052 #504A52 #524C4A #4C524A
square
#4A5052 #504A52 #524C4A #4C524A
split-complementary
#4A5052 #524A4C #52504A
monochromatic
#101112 #2D3132 #4A5052 #676F72 #858E91

Accessibility & contrast

On white

8.20
#4A5052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4A5052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A5052
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5052#FFFFFF#000000##FFFFFF
##4A50521.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a5052;
/* rgb */ color: rgb(74, 80, 82);
/* oklch */ color: oklch(42.7% 0.008 219.7);
Tailwind
colors: {
  custom: {
    50: '#7c8182',
    500: '#4a5052',
    950: '#000000',
  },
}
SCSS
$custom: #4a5052;
$custom-light: #7c8182;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5052",
  "rgb": {
    "r": 74,
    "g": 80,
    "b": 82
  },
  "hsl": {
    "h": 195,
    "s": 5.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42656,
    "c": 0.00843,
    "h": 219.7
  },
  "luminance": 0.07802
}

Semantic roles & 50–950 ramp

primary
#4A5052
secondary
#807A77
accent
#877AAE
background
#F7F7F7
surface
#EEEEEE
border
#C9C9C9
text
#090A0A
muted
#7B7C7C

Preview Lab

Preview with #4A5052

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

Preview Lab → · Contrast checker → · Palette generator →

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