#5B3752#5B3752

#5B3752 is a dark, moderate pink. Relative luminance 0.056; OKLCH L 39.0% C 0.065 H 336.5°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#5B3752
RGBrgb(91, 55, 82)
HSLhsl(315, 25%, 29%)
HSVhsv(315, 40%, 36%)
CMYKcmyk(0%, 39.6%, 9.9%, 64.3%)
CIE-LABlab(28.29, 20.69, -9.70)
CIE-LCHlch(28.29, 22.85, 334.88°)
OKLaboklab(39% 0.0597 -0.026)
OKLCHoklch(39% 0.065 336.5)
XYZxyz(7.2035, 5.5661, 8.6759)
Luminance0.0557 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B3752 #375B40
analogous
#52375B #5B3752 #5B3740
triadic
#5B3752 #525B37 #37525B
tetradic
#5B3752 #5B5237 #375B40 #37405B
square
#5B3752 #5B5237 #375B40 #37405B
split-complementary
#5B3752 #405B37 #375B52
monochromatic
#130C11 #352030 #5B3752 #814E74 #A46895

Accessibility & contrast

On white

9.94
#5B3752 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#5B3752 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B3752
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B3752#FFFFFF#000000##FFFFFF
##5B37521.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373F53
Deuteranopia (green-blind)
#414551
Tritanopia (blue-blind)
#5F3841
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #5b3752;
/* rgb */ color: rgb(91, 55, 82);
/* oklch */ color: oklch(39.0% 0.065 336.5);
Tailwind
colors: {
  custom: {
    50: '#8a6e82',
    500: '#5b3752',
    950: '#000000',
  },
}
SCSS
$custom: #5b3752;
$custom-light: #8a6e82;
$custom-dark: #000000;
JSON
{
  "hex": "#5b3752",
  "rgb": {
    "r": 91,
    "g": 55,
    "b": 82
  },
  "hsl": {
    "h": 315,
    "s": 24.658,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39002,
    "c": 0.06511,
    "h": 336.5
  },
  "luminance": 0.05566
}

Semantic roles & 50–950 ramp

primary
#5B3752
secondary
#628B6D
accent
#C17D67
background
#F8F6F7
surface
#F0ECEE
border
#CBC7C9
text
#0C070A
muted
#7D7A7C

Preview Lab

Preview with #5B3752

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

Preview Lab → · Contrast checker → · Palette generator →

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