#5A424A#5A424A

#5A424A is a dark, muted pink. Relative luminance 0.066; OKLCH L 40.8% C 0.035 H 357.0°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#5A424A
RGBrgb(90, 66, 74)
HSLhsl(340, 15%, 31%)
HSVhsv(340, 27%, 35%)
CMYKcmyk(0%, 26.7%, 17.8%, 64.7%)
CIE-LABlab(30.79, 11.81, -0.77)
CIE-LCHlch(30.79, 11.83, 356.27°)
OKLaboklab(40.79% 0.0352 -0.0019)
OKLCHoklch(40.79% 0.035 357)
XYZxyz(7.4007, 6.5648, 7.3545)
Luminance0.0657 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A424A #425A52
analogous
#5A4256 #5A424A #5A4642
triadic
#5A424A #4A5A42 #424A5A
tetradic
#5A424A #565A42 #425A52 #46425A
square
#5A424A #565A42 #425A52 #46425A
split-complementary
#5A424A #425A46 #42565A
monochromatic
#130E10 #37282D #5A424A #7D5C67 #9D7985

Accessibility & contrast

On white

9.08
#5A424A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#5A424A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A424A
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A424A#FFFFFF#000000##FFFFFF
##5A424A1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45464A
Deuteranopia (green-blind)
#4A4A49
Tritanopia (blue-blind)
#5E4145
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5a424a;
/* rgb */ color: rgb(90, 66, 74);
/* oklch */ color: oklch(40.8% 0.035 357.0);
Tailwind
colors: {
  custom: {
    50: '#89767c',
    500: '#5a424a',
    950: '#000000',
  },
}
SCSS
$custom: #5a424a;
$custom-light: #89767c;
$custom-dark: #000000;
JSON
{
  "hex": "#5a424a",
  "rgb": {
    "r": 90,
    "g": 66,
    "b": 74
  },
  "hsl": {
    "h": 340,
    "s": 15.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40794,
    "c": 0.0353,
    "h": 357
  },
  "luminance": 0.06565
}

Semantic roles & 50–950 ramp

primary
#5A424A
secondary
#6F8980
accent
#B8A070
background
#F8F7F7
surface
#F0EDEE
border
#CBC8C9
text
#0B0809
muted
#7C7B7B

Preview Lab

Preview with #5A424A

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

Preview Lab → · Contrast checker → · Palette generator →

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