#5A625C#5A625C

#5A625C is a mid, near-neutral grey. Relative luminance 0.117; OKLCH L 48.7% C 0.014 H 153.4°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#5A625C
RGBrgb(90, 98, 92)
HSLhsl(135, 4%, 37%)
HSVhsv(135, 8%, 38%)
CMYKcmyk(8.2%, 0%, 6.1%, 61.6%)
CIE-LABlab(40.71, -4.39, 2.35)
CIE-LCHlch(40.71, 4.98, 151.83°)
OKLaboklab(48.72% -0.0122 0.0061)
OKLCHoklch(48.72% 0.014 153.4)
XYZxyz(10.5155, 11.6816, 11.8239)
Luminance0.1168 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A625C #625A60
analogous
#5C625A #5A625C #5A6260
triadic
#5A625C #5C5A62 #625C5A
tetradic
#5A625C #5A5C62 #625A60 #62605A
square
#5A625C #5A5C62 #625A60 #62605A
split-complementary
#5A625C #605A62 #625A5C
monochromatic
#1F2220 #3D423E #5A625C #77827A #979F99

Accessibility & contrast

On white

6.29
#5A625C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5A625C
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A625C#FFFFFF#000000##FFFFFF
##5A625C1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62615C
Deuteranopia (green-blind)
#61605C
Tritanopia (blue-blind)
#596260
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5a625c;
/* rgb */ color: rgb(90, 98, 92);
/* oklch */ color: oklch(48.7% 0.014 153.4);
Tailwind
colors: {
  custom: {
    50: '#888e8a',
    500: '#5a625c',
    950: '#000000',
  },
}
SCSS
$custom: #5a625c;
$custom-light: #888e8a;
$custom-dark: #000000;
JSON
{
  "hex": "#5a625c",
  "rgb": {
    "r": 90,
    "g": 98,
    "b": 92
  },
  "hsl": {
    "h": 135,
    "s": 4.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48722,
    "c": 0.0137,
    "h": 153.4
  },
  "luminance": 0.11682
}

Semantic roles & 50–950 ramp

primary
#5A625C
secondary
#8F888E
accent
#7AA1AD
background
#F8F8F8
surface
#EFF0F0
border
#CACBCB
text
#0B0C0B
muted
#7C7D7C

Preview Lab

Preview with #5A625C

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

Preview Lab → · Contrast checker → · Palette generator →

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