#5A424C#5A424C

#5A424C is a dark, muted pink. Relative luminance 0.066; OKLCH L 40.9% C 0.036 H 352.0°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#5A424C
RGBrgb(90, 66, 76)
HSLhsl(335, 15%, 31%)
HSVhsv(335, 27%, 35%)
CMYKcmyk(0%, 26.7%, 15.6%, 64.7%)
CIE-LABlab(30.86, 12.18, -1.97)
CIE-LCHlch(30.86, 12.34, 350.83°)
OKLaboklab(40.87% 0.0361 -0.005)
OKLCHoklch(40.87% 0.036 352)
XYZxyz(7.4692, 6.5922, 7.7151)
Luminance0.0659 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A424C #425A50
analogous
#5A4258 #5A424C #5A4442
triadic
#5A424C #4C5A42 #424C5A
tetradic
#5A424C #585A42 #425A50 #44425A
square
#5A424C #585A42 #425A50 #44425A
split-complementary
#5A424C #425A44 #42585A
monochromatic
#130E10 #37282E #5A424C #7D5C6A #9D7988

Accessibility & contrast

On white

9.06
#5A424C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#5A424C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A424C
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A424C#FFFFFF#000000##FFFFFF
##5A424C1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44464C
Deuteranopia (green-blind)
#4A4A4B
Tritanopia (blue-blind)
#5E4145
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5a424c;
/* rgb */ color: rgb(90, 66, 76);
/* oklch */ color: oklch(40.9% 0.036 352.0);
Tailwind
colors: {
  custom: {
    50: '#89767e',
    500: '#5a424c',
    950: '#000000',
  },
}
SCSS
$custom: #5a424c;
$custom-light: #89767e;
$custom-dark: #000000;
JSON
{
  "hex": "#5a424c",
  "rgb": {
    "r": 90,
    "g": 66,
    "b": 76
  },
  "hsl": {
    "h": 335,
    "s": 15.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40865,
    "c": 0.03645,
    "h": 352
  },
  "luminance": 0.06592
}

Semantic roles & 50–950 ramp

primary
#5A424C
secondary
#6F897E
accent
#B89A70
background
#F8F7F7
surface
#F0EDEE
border
#CBC8C9
text
#0B0809
muted
#7C7B7B

Preview Lab

Preview with #5A424C

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

Preview Lab → · Contrast checker → · Palette generator →

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