#5A3E52#5A3E52

#5A3E52 is a dark, muted pink. Relative luminance 0.062; OKLCH L 40.3% C 0.050 H 337.4°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#5A3E52
RGBrgb(90, 62, 82)
HSLhsl(317, 18%, 30%)
HSVhsv(317, 31%, 35%)
CMYKcmyk(0%, 31.1%, 8.9%, 64.7%)
CIE-LABlab(29.98, 15.90, -7.16)
CIE-LCHlch(29.98, 17.44, 335.76°)
OKLaboklab(40.26% 0.0458 -0.0191)
OKLCHoklch(40.26% 0.05 337.4)
XYZxyz(7.4620, 6.2284, 8.7901)
Luminance0.0623 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A3E52 #3E5A46
analogous
#543E5A #5A3E52 #5A3E44
triadic
#5A3E52 #525A3E #3E525A
tetradic
#5A3E52 #5A543E #3E5A46 #3E445A
square
#5A3E52 #5A543E #3E5A46 #3E445A
split-complementary
#5A3E52 #445A3E #3E5A54
monochromatic
#120C11 #362531 #5A3E52 #7E5773 #9F7493

Accessibility & contrast

On white

9.35
#5A3E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#5A3E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A3E52
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A3E52#FFFFFF#000000##FFFFFF
##5A3E521.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4453
Deuteranopia (green-blind)
#454851
Tritanopia (blue-blind)
#5D3F45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5a3e52;
/* rgb */ color: rgb(90, 62, 82);
/* oklch */ color: oklch(40.3% 0.050 337.4);
Tailwind
colors: {
  custom: {
    50: '#897382',
    500: '#5a3e52',
    950: '#000000',
  },
}
SCSS
$custom: #5a3e52;
$custom-light: #897382;
$custom-dark: #000000;
JSON
{
  "hex": "#5a3e52",
  "rgb": {
    "r": 90,
    "g": 62,
    "b": 82
  },
  "hsl": {
    "h": 317.143,
    "s": 18.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40261,
    "c": 0.04959,
    "h": 337.4
  },
  "luminance": 0.06228
}

Semantic roles & 50–950 ramp

primary
#5A3E52
secondary
#6A8A73
accent
#BB836D
background
#F8F7F7
surface
#F0EDEE
border
#CBC8C9
text
#0B080A
muted
#7C7B7C

Preview Lab

Preview with #5A3E52

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

Preview Lab → · Contrast checker → · Palette generator →

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