#5A374B#5A374B

#5A374B is a dark, muted pink. Relative luminance 0.054; OKLCH L 38.6% C 0.058 H 344.9°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#5A374B
RGBrgb(90, 55, 75)
HSLhsl(326, 24%, 28%)
HSVhsv(326, 39%, 35%)
CMYKcmyk(0%, 38.9%, 16.7%, 64.7%)
CIE-LABlab(27.88, 18.95, -5.73)
CIE-LCHlch(27.88, 19.79, 343.17°)
OKLaboklab(38.57% 0.0559 -0.0151)
OKLCHoklch(38.57% 0.058 344.9)
XYZxyz(6.8527, 5.4144, 7.3394)
Luminance0.0541 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A374B #375A46
analogous
#57375A #5A374B #5A3739
triadic
#5A374B #4B5A37 #374B5A
tetradic
#5A374B #5A5737 #375A46 #37395A
square
#5A374B #5A5737 #375A46 #37395A
split-complementary
#5A374B #395A37 #375A57
monochromatic
#130C10 #34202B #5A374B #804E6B #A3688A

Accessibility & contrast

On white

10.08
#5A374B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#5A374B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A374B
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A374B#FFFFFF#000000##FFFFFF
##5A374B1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393E4C
Deuteranopia (green-blind)
#42444A
Tritanopia (blue-blind)
#5E373E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #5a374b;
/* rgb */ color: rgb(90, 55, 75);
/* oklch */ color: oklch(38.6% 0.058 344.9);
Tailwind
colors: {
  custom: {
    50: '#896e7d',
    500: '#5a374b',
    950: '#000000',
  },
}
SCSS
$custom: #5a374b;
$custom-light: #896e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#5a374b",
  "rgb": {
    "r": 90,
    "g": 55,
    "b": 75
  },
  "hsl": {
    "h": 325.714,
    "s": 24.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38575,
    "c": 0.05788,
    "h": 344.9
  },
  "luminance": 0.05414
}

Semantic roles & 50–950 ramp

primary
#5A374B
secondary
#628A74
accent
#C18E67
background
#F8F6F7
surface
#F0ECEE
border
#CBC7C9
text
#0B0709
muted
#7C7A7B

Preview Lab

Preview with #5A374B

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

Preview Lab → · Contrast checker → · Palette generator →

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