#5B163D#5B163D

#5B163D is a dark, moderate pink. Relative luminance 0.031; OKLCH L 33.0% C 0.109 H 350.0°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#5B163D
RGBrgb(91, 22, 61)
HSLhsl(326, 61%, 22%)
HSVhsv(326, 76%, 36%)
CMYKcmyk(0%, 75.8%, 33%, 64.3%)
CIE-LABlab(20.58, 35.07, -7.25)
CIE-LCHlch(20.58, 35.81, 348.32°)
OKLaboklab(32.97% 0.107 -0.0189)
OKLCHoklch(32.97% 0.109 350)
XYZxyz(5.4439, 3.1355, 4.7325)
Luminance0.0314 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B163D #165B34
analogous
#57165B #5B163D #5B161B
triadic
#5B163D #3D5B16 #163D5B
tetradic
#5B163D #5B5716 #165B34 #161B5B
square
#5B163D #5B5716 #165B34 #161B5B
split-complementary
#5B163D #1B5B16 #165B57
monochromatic
#190611 #2A0A1C #5B163D #8C225E #BE2E7F

Accessibility & contrast

On white

12.91
#5B163D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5B163D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B163D
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B163D#FFFFFF#000000##FFFFFF
##5B163D1.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202A3E
Deuteranopia (green-blind)
#34363B
Tritanopia (blue-blind)
#621227
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5b163d;
/* rgb */ color: rgb(91, 22, 61);
/* oklch */ color: oklch(33.0% 0.109 350.0);
Tailwind
colors: {
  custom: {
    50: '#8d5a72',
    500: '#5b163d',
    950: '#000000',
  },
}
SCSS
$custom: #5b163d;
$custom-light: #8d5a72;
$custom-dark: #000000;
JSON
{
  "hex": "#5b163d",
  "rgb": {
    "r": 91,
    "g": 22,
    "b": 61
  },
  "hsl": {
    "h": 326.087,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32967,
    "c": 0.10862,
    "h": 350
  },
  "luminance": 0.03135
}

Semantic roles & 50–950 ramp

primary
#5B163D
secondary
#3B9261
accent
#E48944
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #5B163D

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

Preview Lab → · Contrast checker → · Palette generator →

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