#5A5652#5A5652

#5A5652 is a mid, near-neutral grey. Relative luminance 0.094; OKLCH L 45.6% C 0.008 H 67.6°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#5A5652
RGBrgb(90, 86, 82)
HSLhsl(30, 5%, 34%)
HSVhsv(30, 9%, 35%)
CMYKcmyk(0%, 4.4%, 8.9%, 64.7%)
CIE-LABlab(36.82, 0.81, 2.90)
CIE-LCHlch(36.82, 3.01, 74.41°)
OKLaboklab(45.56% 0.0032 0.0076)
OKLCHoklch(45.56% 0.008 67.6)
XYZxyz(9.0671, 9.4385, 9.3252)
Luminance0.0944 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5652 #52565A
analogous
#5A5252 #5A5652 #5A5A52
triadic
#5A5652 #525A56 #56525A
tetradic
#5A5652 #525A52 #52565A #5A525A
square
#5A5652 #525A52 #52565A #5A525A
split-complementary
#5A5652 #525A5A #52525A
monochromatic
#1A1918 #3A3735 #5A5652 #7A756F #98938E

Accessibility & contrast

On white

7.27
#5A5652 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#5A5652 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A5652
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5652#FFFFFF#000000##FFFFFF
##5A56521.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575652
Deuteranopia (green-blind)
#585752
Tritanopia (blue-blind)
#5C5555
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5a5652;
/* rgb */ color: rgb(90, 86, 82);
/* oklch */ color: oklch(45.6% 0.008 67.6);
Tailwind
colors: {
  custom: {
    50: '#888582',
    500: '#5a5652',
    950: '#000000',
  },
}
SCSS
$custom: #5a5652;
$custom-light: #888582;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5652",
  "rgb": {
    "r": 90,
    "g": 86,
    "b": 82
  },
  "hsl": {
    "h": 30,
    "s": 4.651,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45562,
    "c": 0.00826,
    "h": 67.6
  },
  "luminance": 0.09438
}

Semantic roles & 50–950 ramp

primary
#5A5652
secondary
#808488
accent
#94AE7A
background
#F8F8F7
surface
#EFEFEE
border
#CACAC9
text
#0B0B0A
muted
#7C7C7C

Preview Lab

Preview with #5A5652

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

Preview Lab → · Contrast checker → · Palette generator →

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