#5A4052#5A4052

#5A4052 is a dark, muted pink. Relative luminance 0.065; OKLCH L 40.7% C 0.045 H 338.2°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#5A4052
RGBrgb(90, 64, 82)
HSLhsl(318, 17%, 30%)
HSVhsv(318, 29%, 35%)
CMYKcmyk(0%, 28.9%, 8.9%, 64.7%)
CIE-LABlab(30.52, 14.63, -6.35)
CIE-LCHlch(30.52, 15.95, 336.53°)
OKLaboklab(40.67% 0.0422 -0.0169)
OKLCHoklch(40.67% 0.045 338.2)
XYZxyz(7.5728, 6.4499, 8.8271)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4052 #405A48
analogous
#55405A #5A4052 #5A4045
triadic
#5A4052 #525A40 #40525A
tetradic
#5A4052 #5A5540 #405A48 #40455A
square
#5A4052 #5A5540 #405A48 #40455A
split-complementary
#5A4052 #455A40 #405A55
monochromatic
#120D11 #362731 #5A4052 #7E5973 #9E7692

Accessibility & contrast

On white

9.17
#5A4052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#5A4052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A4052
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4052#FFFFFF#000000##FFFFFF
##5A40521.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414653
Deuteranopia (green-blind)
#474951
Tritanopia (blue-blind)
#5D4146
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5a4052;
/* rgb */ color: rgb(90, 64, 82);
/* oklch */ color: oklch(40.7% 0.045 338.2);
Tailwind
colors: {
  custom: {
    50: '#897582',
    500: '#5a4052',
    950: '#000000',
  },
}
SCSS
$custom: #5a4052;
$custom-light: #897582;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4052",
  "rgb": {
    "r": 90,
    "g": 64,
    "b": 82
  },
  "hsl": {
    "h": 318.462,
    "s": 16.883,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40673,
    "c": 0.04541,
    "h": 338.2
  },
  "luminance": 0.0645
}

Semantic roles & 50–950 ramp

primary
#5A4052
secondary
#6C8975
accent
#BA856E
background
#F8F7F7
surface
#F0EDEE
border
#CBC8C9
text
#0B080A
muted
#7C7B7C

Preview Lab

Preview with #5A4052

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

Preview Lab → · Contrast checker → · Palette generator →

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