#5D163B#5D163B

#5D163B is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.2% C 0.109 H 352.8°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#5D163B
RGBrgb(93, 22, 59)
HSLhsl(329, 62%, 23%)
HSVhsv(329, 76%, 36%)
CMYKcmyk(0%, 76.3%, 36.6%, 63.5%)
CIE-LABlab(20.89, 35.43, -5.35)
CIE-LCHlch(20.89, 35.83, 351.41°)
OKLaboklab(33.25% 0.1084 -0.0137)
OKLCHoklch(33.25% 0.109 352.8)
XYZxyz(5.5909, 3.2174, 4.4634)
Luminance0.0322 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D163B #165D38
analogous
#5B165D #5D163B #5D1618
triadic
#5D163B #3B5D16 #163B5D
tetradic
#5D163B #5D5B16 #165D38 #16185D
square
#5D163B #5D5B16 #165D38 #16185D
split-complementary
#5D163B #185D16 #165D5B
monochromatic
#190610 #2C0A1C #5D163B #8E225A #C02D7A

Accessibility & contrast

On white

12.78
#5D163B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5D163B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D163B
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D163B#FFFFFF#000000##FFFFFF
##5D163B1.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222A3C
Deuteranopia (green-blind)
#363739
Tritanopia (blue-blind)
#651026
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5d163b;
/* rgb */ color: rgb(93, 22, 59);
/* oklch */ color: oklch(33.2% 0.109 352.8);
Tailwind
colors: {
  custom: {
    50: '#8e5a70',
    500: '#5d163b',
    950: '#000000',
  },
}
SCSS
$custom: #5d163b;
$custom-light: #8e5a70;
$custom-dark: #000000;
JSON
{
  "hex": "#5d163b",
  "rgb": {
    "r": 93,
    "g": 22,
    "b": 59
  },
  "hsl": {
    "h": 328.732,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33246,
    "c": 0.1093,
    "h": 352.8
  },
  "luminance": 0.03217
}

Semantic roles & 50–950 ramp

primary
#5D163B
secondary
#3B9466
accent
#E59043
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5D163B

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

Preview Lab → · Contrast checker → · Palette generator →

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