#5A625F#5A625F

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

Color values

HEX#5A625F
RGBrgb(90, 98, 95)
HSLhsl(158, 4%, 37%)
HSVhsv(158, 8%, 38%)
CMYKcmyk(8.2%, 0%, 3.1%, 61.6%)
CIE-LABlab(40.79, -3.75, 0.64)
CIE-LCHlch(40.79, 3.80, 170.30°)
OKLaboklab(48.82% -0.0109 0.0016)
OKLCHoklch(48.82% 0.011 171.4)
XYZxyz(10.6493, 11.7351, 12.5283)
Luminance0.1173 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A625F #625A5D
analogous
#5A625B #5A625F #5A6162
triadic
#5A625F #5F5A62 #625F5A
tetradic
#5A625F #5B5A62 #625A5D #61625A
square
#5A625F #5B5A62 #625A5D #61625A
split-complementary
#5A625F #625A61 #625B5A
monochromatic
#1F2221 #3D4240 #5A625F #77827E #979F9C

Accessibility & contrast

On white

6.27
#5A625F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#5A625F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A625F
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A625F#FFFFFF#000000##FFFFFF
##5A625F1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61615F
Deuteranopia (green-blind)
#60605F
Tritanopia (blue-blind)
#586261
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5a625f;
/* rgb */ color: rgb(90, 98, 95);
/* oklch */ color: oklch(48.8% 0.011 171.4);
Tailwind
colors: {
  custom: {
    50: '#888e8c',
    500: '#5a625f',
    950: '#000000',
  },
}
SCSS
$custom: #5a625f;
$custom-light: #888e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#5a625f",
  "rgb": {
    "r": 90,
    "g": 98,
    "b": 95
  },
  "hsl": {
    "h": 157.5,
    "s": 4.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48819,
    "c": 0.011,
    "h": 171.4
  },
  "luminance": 0.11735
}

Semantic roles & 50–950 ramp

primary
#5A625F
secondary
#8F888B
accent
#7A8EAD
background
#F8F8F8
surface
#EFF0F0
border
#CACBCB
text
#0B0C0C
muted
#7C7D7D

Preview Lab

Preview with #5A625F

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

Preview Lab → · Contrast checker → · Palette generator →

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