#5A625E#5A625E

#5A625E is a mid, near-neutral grey. Relative luminance 0.117; OKLCH L 48.8% C 0.012 H 164.5°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#5A625E
RGBrgb(90, 98, 94)
HSLhsl(150, 4%, 37%)
HSVhsv(150, 8%, 38%)
CMYKcmyk(8.2%, 0%, 4.1%, 61.6%)
CIE-LABlab(40.76, -3.96, 1.21)
CIE-LCHlch(40.76, 4.15, 163.03°)
OKLaboklab(48.79% -0.0113 0.0031)
OKLCHoklch(48.79% 0.012 164.5)
XYZxyz(10.6041, 11.7171, 12.2905)
Luminance0.1172 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A625E #625A5E
analogous
#5A625A #5A625E #5A6262
triadic
#5A625E #5E5A62 #625E5A
tetradic
#5A625E #5A5A62 #625A5E #62625A
square
#5A625E #5A5A62 #625A5E #62625A
split-complementary
#5A625E #625A62 #625A5A
monochromatic
#1F2221 #3D423F #5A625E #77827D #979F9B

Accessibility & contrast

On white

6.28
#5A625E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#5A625E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A625E
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A625E#FFFFFF#000000##FFFFFF
##5A625E1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62615E
Deuteranopia (green-blind)
#60605E
Tritanopia (blue-blind)
#596261
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5a625e;
/* rgb */ color: rgb(90, 98, 94);
/* oklch */ color: oklch(48.8% 0.012 164.5);
Tailwind
colors: {
  custom: {
    50: '#888e8b',
    500: '#5a625e',
    950: '#000000',
  },
}
SCSS
$custom: #5a625e;
$custom-light: #888e8b;
$custom-dark: #000000;
JSON
{
  "hex": "#5a625e",
  "rgb": {
    "r": 90,
    "g": 98,
    "b": 94
  },
  "hsl": {
    "h": 150,
    "s": 4.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48786,
    "c": 0.01177,
    "h": 164.5
  },
  "luminance": 0.11717
}

Semantic roles & 50–950 ramp

primary
#5A625E
secondary
#8F888C
accent
#7A94AD
background
#F8F8F8
surface
#EFF0F0
border
#CACBCB
text
#0B0C0C
muted
#7C7D7D

Preview Lab

Preview with #5A625E

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

Preview Lab → · Contrast checker → · Palette generator →

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