#5B112A#5B112A

#5B112A is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.7% C 0.107 H 5.7°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#5B112A
RGBrgb(91, 17, 42)
HSLhsl(340, 69%, 21%)
HSVhsv(340, 81%, 36%)
CMYKcmyk(0%, 81.3%, 53.8%, 64.3%)
CIE-LABlab(19.19, 34.81, 4.07)
CIE-LCHlch(19.19, 35.05, 6.67°)
OKLaboklab(31.73% 0.1063 0.0107)
OKLCHoklch(31.73% 0.107 5.7)
XYZxyz(4.9332, 2.7929, 2.4694)
Luminance0.0279 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B112A #115B42
analogous
#5B114F #5B112A #5B1D11
triadic
#5B112A #2A5B11 #112A5B
tetradic
#5B112A #4F5B11 #115B42 #1D115B
square
#5B112A #4F5B11 #115B42 #1D115B
split-complementary
#5B112A #115B1D #114F5B
monochromatic
#1A050C #270712 #5B112A #8F1B42 #C2245A

Accessibility & contrast

On white

13.48
#5B112A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B112A
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B112A#FFFFFF#000000##FFFFFF
##5B112A1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23252B
Deuteranopia (green-blind)
#373428
Tritanopia (blue-blind)
#64011C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5b112a;
/* rgb */ color: rgb(91, 17, 42);
/* oklch */ color: oklch(31.7% 0.107 5.7);
Tailwind
colors: {
  custom: {
    50: '#8e5763',
    500: '#5b112a',
    950: '#000000',
  },
}
SCSS
$custom: #5b112a;
$custom-light: #8e5763;
$custom-dark: #000000;
JSON
{
  "hex": "#5b112a",
  "rgb": {
    "r": 91,
    "g": 17,
    "b": 42
  },
  "hsl": {
    "h": 339.73,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31726,
    "c": 0.10687,
    "h": 5.7
  },
  "luminance": 0.02792
}

Semantic roles & 50–950 ramp

primary
#5B112A
secondary
#349473
accent
#EBB03C
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0305
muted
#7E7879

Preview Lab

Preview with #5B112A

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

Preview Lab → · Contrast checker → · Palette generator →

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