#5E5252#5E5252

#5E5252 is a mid, near-neutral grey. Relative luminance 0.090; OKLCH L 45.0% C 0.016 H 17.8°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#5E5252
RGBrgb(94, 82, 82)
HSLhsl(0, 7%, 35%)
HSVhsv(0, 13%, 37%)
CMYKcmyk(0%, 12.8%, 12.8%, 63.1%)
CIE-LABlab(36.03, 4.94, 1.82)
CIE-LCHlch(36.03, 5.26, 20.18°)
OKLaboklab(45.04% 0.0152 0.0049)
OKLCHoklch(45.04% 0.016 17.8)
XYZxyz(9.1563, 9.0237, 9.2404)
Luminance0.0902 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5252 #525E5E
analogous
#5E5258 #5E5252 #5E5852
triadic
#5E5252 #525E52 #52525E
tetradic
#5E5252 #585E52 #525E5E #58525E
square
#5E5252 #585E52 #525E5E #58525E
split-complementary
#5E5252 #525E58 #52585E
monochromatic
#1D1919 #3D3535 #5E5252 #7F6F6F #9C8E8E

Accessibility & contrast

On white

7.49
#5E5252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#5E5252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E5252
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5252#FFFFFF#000000##FFFFFF
##5E52521.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545352
Deuteranopia (green-blind)
#575652
Tritanopia (blue-blind)
#615152
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5e5252;
/* rgb */ color: rgb(94, 82, 82);
/* oklch */ color: oklch(45.0% 0.016 17.8);
Tailwind
colors: {
  custom: {
    50: '#8b8282',
    500: '#5e5252',
    950: '#000000',
  },
}
SCSS
$custom: #5e5252;
$custom-light: #8b8282;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5252",
  "rgb": {
    "r": 94,
    "g": 82,
    "b": 82
  },
  "hsl": {
    "h": 0,
    "s": 6.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45041,
    "c": 0.01592,
    "h": 17.8
  },
  "luminance": 0.09023
}

Semantic roles & 50–950 ramp

primary
#5E5252
secondary
#808C8C
accent
#B0B078
background
#F8F7F7
surface
#F0EEEE
border
#CBC9C9
text
#0C0A0A
muted
#7D7C7C

Preview Lab

Preview with #5E5252

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

Preview Lab → · Contrast checker → · Palette generator →

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