#5A4252#5A4252

#5A4252 is a dark, muted pink. Relative luminance 0.067; OKLCH L 41.1% C 0.041 H 339.2°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#5A4252
RGBrgb(90, 66, 82)
HSLhsl(320, 15%, 31%)
HSVhsv(320, 27%, 35%)
CMYKcmyk(0%, 26.7%, 8.9%, 64.7%)
CIE-LABlab(31.07, 13.36, -5.54)
CIE-LCHlch(31.07, 14.46, 337.49°)
OKLaboklab(41.09% 0.0386 -0.0147)
OKLCHoklch(41.09% 0.041 339.2)
XYZxyz(7.6876, 6.6796, 8.8653)
Luminance0.0668 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4252 #425A4A
analogous
#56425A #5A4252 #5A4246
triadic
#5A4252 #525A42 #42525A
tetradic
#5A4252 #5A5642 #425A4A #42465A
square
#5A4252 #5A5642 #425A4A #42465A
split-complementary
#5A4252 #465A42 #425A56
monochromatic
#130E12 #372832 #5A4252 #7D5C72 #9D7991

Accessibility & contrast

On white

8.99
#5A4252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#5A4252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A4252
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4252#FFFFFF#000000##FFFFFF
##5A42521.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434753
Deuteranopia (green-blind)
#484A51
Tritanopia (blue-blind)
#5D4247
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5a4252;
/* rgb */ color: rgb(90, 66, 82);
/* oklch */ color: oklch(41.1% 0.041 339.2);
Tailwind
colors: {
  custom: {
    50: '#897682',
    500: '#5a4252',
    950: '#000000',
  },
}
SCSS
$custom: #5a4252;
$custom-light: #897682;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4252",
  "rgb": {
    "r": 90,
    "g": 66,
    "b": 82
  },
  "hsl": {
    "h": 320,
    "s": 15.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41092,
    "c": 0.04124,
    "h": 339.2
  },
  "luminance": 0.06679
}

Semantic roles & 50–950 ramp

primary
#5A4252
secondary
#6F8977
accent
#B88870
background
#F8F7F7
surface
#F0EDEE
border
#CBC8C9
text
#0B080A
muted
#7C7B7C

Preview Lab

Preview with #5A4252

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

Preview Lab → · Contrast checker → · Palette generator →

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