#5A424B#5A424B

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

Color values

HEX#5A424B
RGBrgb(90, 66, 75)
HSLhsl(338, 15%, 31%)
HSVhsv(338, 27%, 35%)
CMYKcmyk(0%, 26.7%, 16.7%, 64.7%)
CIE-LABlab(30.83, 11.99, -1.37)
CIE-LCHlch(30.83, 12.07, 353.49°)
OKLaboklab(40.83% 0.0357 -0.0035)
OKLCHoklch(40.83% 0.036 354.5)
XYZxyz(7.4347, 6.5784, 7.5334)
Luminance0.0658 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A424B #425A51
analogous
#5A4257 #5A424B #5A4542
triadic
#5A424B #4B5A42 #424B5A
tetradic
#5A424B #575A42 #425A51 #45425A
square
#5A424B #575A42 #425A51 #45425A
split-complementary
#5A424B #425A45 #42575A
monochromatic
#130E10 #37282E #5A424B #7D5C68 #9D7987

Accessibility & contrast

On white

9.07
#5A424B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A424B
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A424B#FFFFFF#000000##FFFFFF
##5A424B1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a424b;
/* rgb */ color: rgb(90, 66, 75);
/* oklch */ color: oklch(40.8% 0.036 354.5);
Tailwind
colors: {
  custom: {
    50: '#89767d',
    500: '#5a424b',
    950: '#000000',
  },
}
SCSS
$custom: #5a424b;
$custom-light: #89767d;
$custom-dark: #000000;
JSON
{
  "hex": "#5a424b",
  "rgb": {
    "r": 90,
    "g": 66,
    "b": 75
  },
  "hsl": {
    "h": 337.5,
    "s": 15.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40829,
    "c": 0.03585,
    "h": 354.5
  },
  "luminance": 0.06578
}

Semantic roles & 50–950 ramp

primary
#5A424B
secondary
#6F897F
accent
#B89D70
background
#F8F7F7
surface
#F0EDEE
border
#CBC8C9
text
#0B0809
muted
#7C7B7B

Preview Lab

Preview with #5A424B

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

Preview Lab → · Contrast checker → · Palette generator →

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