#5B3754#5B3754

#5B3754 is a dark, moderate pink. Relative luminance 0.056; OKLCH L 39.1% C 0.067 H 334.1°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#5B3754
RGBrgb(91, 55, 84)
HSLhsl(312, 25%, 29%)
HSVhsv(312, 40%, 36%)
CMYKcmyk(0%, 39.6%, 7.7%, 64.3%)
CIE-LABlab(28.37, 21.09, -10.88)
CIE-LCHlch(28.37, 23.73, 332.70°)
OKLaboklab(39.09% 0.0604 -0.0293)
OKLCHoklch(39.09% 0.067 334.1)
XYZxyz(7.2808, 5.5970, 9.0826)
Luminance0.0560 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B3754 #375B3E
analogous
#50375B #5B3754 #5B3742
triadic
#5B3754 #545B37 #37545B
tetradic
#5B3754 #5B5037 #375B3E #37425B
square
#5B3754 #5B5037 #375B3E #37425B
split-complementary
#5B3754 #425B37 #375B50
monochromatic
#130C12 #352031 #5B3754 #814E77 #A46898

Accessibility & contrast

On white

9.91
#5B3754 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#5B3754 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B3754
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B3754#FFFFFF#000000##FFFFFF
##5B37541.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374055
Deuteranopia (green-blind)
#404553
Tritanopia (blue-blind)
#5E3942
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #5b3754;
/* rgb */ color: rgb(91, 55, 84);
/* oklch */ color: oklch(39.1% 0.067 334.1);
Tailwind
colors: {
  custom: {
    50: '#8a6e84',
    500: '#5b3754',
    950: '#000000',
  },
}
SCSS
$custom: #5b3754;
$custom-light: #8a6e84;
$custom-dark: #000000;
JSON
{
  "hex": "#5b3754",
  "rgb": {
    "r": 91,
    "g": 55,
    "b": 84
  },
  "hsl": {
    "h": 311.667,
    "s": 24.658,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39091,
    "c": 0.06708,
    "h": 334.1
  },
  "luminance": 0.05597
}

Semantic roles & 50–950 ramp

primary
#5B3754
secondary
#628B6A
accent
#C17867
background
#F8F6F8
surface
#F0ECEF
border
#CBC7CA
text
#0C070A
muted
#7D7A7C

Preview Lab

Preview with #5B3754

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

Preview Lab → · Contrast checker → · Palette generator →

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