#5B313D#5B313D

#5B313D is a dark, moderate pink. Relative luminance 0.048; OKLCH L 37.0% C 0.063 H 2.3°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#5B313D
RGBrgb(91, 49, 61)
HSLhsl(343, 30%, 27%)
HSVhsv(343, 46%, 36%)
CMYKcmyk(0%, 46.2%, 33%, 64.3%)
CIE-LABlab(26.03, 20.69, 0.84)
CIE-LCHlch(26.03, 20.70, 2.32°)
OKLaboklab(37.04% 0.0627 0.0025)
OKLCHoklch(37.04% 0.063 2.3)
XYZxyz(6.2552, 4.7582, 5.0029)
Luminance0.0476 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B313D #315B4F
analogous
#5B3152 #5B313D #5B3A31
triadic
#5B313D #3D5B31 #313D5B
tetradic
#5B313D #525B31 #315B4F #3A315B
square
#5B313D #525B31 #315B4F #3A315B
split-complementary
#5B313D #315B3A #31525B
monochromatic
#140B0D #331C22 #5B313D #834658 #A85E73

Accessibility & contrast

On white

10.76
#5B313D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#5B313D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B313D
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B313D#FFFFFF#000000##FFFFFF
##5B313D1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37393D
Deuteranopia (green-blind)
#42413C
Tritanopia (blue-blind)
#612E35
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #5b313d;
/* rgb */ color: rgb(91, 49, 61);
/* oklch */ color: oklch(37.0% 0.063 2.3);
Tailwind
colors: {
  custom: {
    50: '#8b6a72',
    500: '#5b313d',
    950: '#000000',
  },
}
SCSS
$custom: #5b313d;
$custom-light: #8b6a72;
$custom-dark: #000000;
JSON
{
  "hex": "#5b313d",
  "rgb": {
    "r": 91,
    "g": 49,
    "b": 61
  },
  "hsl": {
    "h": 342.857,
    "s": 30,
    "l": 27.451
  },
  "oklch": {
    "l": 0.37042,
    "c": 0.06272,
    "h": 2.3
  },
  "luminance": 0.04758
}

Semantic roles & 50–950 ramp

primary
#5B313D
secondary
#5C8C7E
accent
#C6A962
background
#F8F6F6
surface
#F0EBEC
border
#CBC6C7
text
#0C0608
muted
#7D7A7B

Preview Lab

Preview with #5B313D

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

Preview Lab → · Contrast checker → · Palette generator →

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