#5A6262#5A6262

#5A6262 is a mid, near-neutral grey. Relative luminance 0.118; OKLCH L 48.9% C 0.010 H 196.8°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#5A6262
RGBrgb(90, 98, 98)
HSLhsl(180, 4%, 37%)
HSVhsv(180, 8%, 38%)
CMYKcmyk(8.2%, 0%, 0%, 61.6%)
CIE-LABlab(40.88, -3.09, -1.06)
CIE-LCHlch(40.88, 3.27, 199.00°)
OKLaboklab(48.92% -0.0095 -0.0029)
OKLCHoklch(48.92% 0.01 196.8)
XYZxyz(10.7883, 11.7907, 13.2604)
Luminance0.1179 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6262 #625A5A
analogous
#5A625E #5A6262 #5A5E62
triadic
#5A6262 #625A62 #62625A
tetradic
#5A6262 #5E5A62 #625A5A #5E625A
square
#5A6262 #5E5A62 #625A5A #5E625A
split-complementary
#5A6262 #625A5E #625E5A
monochromatic
#1F2222 #3D4242 #5A6262 #778282 #979F9F

Accessibility & contrast

On white

6.25
#5A6262 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#5A6262 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6262
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6262#FFFFFF#000000##FFFFFF
##5A62621.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#616162
Deuteranopia (green-blind)
#5F6062
Tritanopia (blue-blind)
#586362
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5a6262;
/* rgb */ color: rgb(90, 98, 98);
/* oklch */ color: oklch(48.9% 0.010 196.8);
Tailwind
colors: {
  custom: {
    50: '#888e8e',
    500: '#5a6262',
    950: '#000000',
  },
}
SCSS
$custom: #5a6262;
$custom-light: #888e8e;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6262",
  "rgb": {
    "r": 90,
    "g": 98,
    "b": 98
  },
  "hsl": {
    "h": 180,
    "s": 4.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48919,
    "c": 0.00996,
    "h": 196.8
  },
  "luminance": 0.11791
}

Semantic roles & 50–950 ramp

primary
#5A6262
secondary
#8F8888
accent
#7A7AAD
background
#F8F8F8
surface
#EFF0F0
border
#CACBCB
text
#0B0C0C
muted
#7C7D7D

Preview Lab

Preview with #5A6262

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

Preview Lab → · Contrast checker → · Palette generator →

#5A6262 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva