#5A424E#5A424E

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

Color values

HEX#5A424E
RGBrgb(90, 66, 78)
HSLhsl(330, 15%, 31%)
HSVhsv(330, 27%, 35%)
CMYKcmyk(0%, 26.7%, 13.3%, 64.7%)
CIE-LABlab(30.93, 12.57, -3.16)
CIE-LCHlch(30.93, 12.96, 345.88°)
OKLaboklab(40.94% 0.0369 -0.0082)
OKLCHoklch(40.94% 0.038 347.4)
XYZxyz(7.5398, 6.6204, 8.0870)
Luminance0.0662 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A424E #425A4E
analogous
#5A425A #5A424E #5A4242
triadic
#5A424E #4E5A42 #424E5A
tetradic
#5A424E #5A5A42 #425A4E #42425A
square
#5A424E #5A5A42 #425A4E #42425A
split-complementary
#5A424E #425A42 #425A5A
monochromatic
#130E11 #37282F #5A424E #7D5C6D #9D798B

Accessibility & contrast

On white

9.04
#5A424E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A424E
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A424E#FFFFFF#000000##FFFFFF
##5A424E1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44464E
Deuteranopia (green-blind)
#494A4D
Tritanopia (blue-blind)
#5D4246
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5a424e;
/* rgb */ color: rgb(90, 66, 78);
/* oklch */ color: oklch(40.9% 0.038 347.4);
Tailwind
colors: {
  custom: {
    50: '#89767f',
    500: '#5a424e',
    950: '#000000',
  },
}
SCSS
$custom: #5a424e;
$custom-light: #89767f;
$custom-dark: #000000;
JSON
{
  "hex": "#5a424e",
  "rgb": {
    "r": 90,
    "g": 66,
    "b": 78
  },
  "hsl": {
    "h": 330,
    "s": 15.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40939,
    "c": 0.03785,
    "h": 347.4
  },
  "luminance": 0.0662
}

Semantic roles & 50–950 ramp

primary
#5A424E
secondary
#6F897C
accent
#B89470
background
#F8F7F7
surface
#F0EDEE
border
#CBC8C9
text
#0B080A
muted
#7C7B7C

Preview Lab

Preview with #5A424E

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

Preview Lab → · Contrast checker → · Palette generator →

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