#5B112D#5B112D

#5B112D is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.8% C 0.108 H 3.0°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#5B112D
RGBrgb(91, 17, 45)
HSLhsl(337, 69%, 21%)
HSVhsv(337, 81%, 36%)
CMYKcmyk(0%, 81.3%, 50.5%, 64.3%)
CIE-LABlab(19.29, 35.10, 2.07)
CIE-LCHlch(19.29, 35.17, 3.38°)
OKLaboklab(31.83% 0.1076 0.0057)
OKLCHoklch(31.83% 0.108 3)
XYZxyz(4.9889, 2.8152, 2.7628)
Luminance0.0282 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B112D #115B3F
analogous
#5B1152 #5B112D #5B1A11
triadic
#5B112D #2D5B11 #112D5B
tetradic
#5B112D #525B11 #115B3F #1A115B
square
#5B112D #525B11 #115B3F #1A115B
split-complementary
#5B112D #115B1A #11525B
monochromatic
#1A050D #270713 #5B112D #8F1B46 #C22460

Accessibility & contrast

On white

13.44
#5B112D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#5B112D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B112D
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B112D#FFFFFF#000000##FFFFFF
##5B112D1.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23262E
Deuteranopia (green-blind)
#36342B
Tritanopia (blue-blind)
#64031D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5b112d;
/* rgb */ color: rgb(91, 17, 45);
/* oklch */ color: oklch(31.8% 0.108 3.0);
Tailwind
colors: {
  custom: {
    50: '#8e5765',
    500: '#5b112d',
    950: '#000000',
  },
}
SCSS
$custom: #5b112d;
$custom-light: #8e5765;
$custom-dark: #000000;
JSON
{
  "hex": "#5b112d",
  "rgb": {
    "r": 91,
    "g": 17,
    "b": 45
  },
  "hsl": {
    "h": 337.297,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31825,
    "c": 0.10772,
    "h": 3
  },
  "luminance": 0.02815
}

Semantic roles & 50–950 ramp

primary
#5B112D
secondary
#349470
accent
#EBA93C
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0305
muted
#7E787A

Preview Lab

Preview with #5B112D

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

Preview Lab → · Contrast checker → · Palette generator →

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