#5B112C#5B112C

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

Color values

HEX#5B112C
RGBrgb(91, 17, 44)
HSLhsl(338, 69%, 21%)
HSVhsv(338, 81%, 36%)
CMYKcmyk(0%, 81.3%, 51.6%, 64.3%)
CIE-LABlab(19.26, 35.00, 2.74)
CIE-LCHlch(19.26, 35.11, 4.47°)
OKLaboklab(31.79% 0.1072 0.0074)
OKLCHoklch(31.79% 0.107 3.9)
XYZxyz(4.9699, 2.8076, 2.6626)
Luminance0.0281 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B112C #115B40
analogous
#5B1151 #5B112C #5B1B11
triadic
#5B112C #2C5B11 #112C5B
tetradic
#5B112C #515B11 #115B40 #1B115B
square
#5B112C #515B11 #115B40 #1B115B
split-complementary
#5B112C #115B1B #11515B
monochromatic
#1A050C #270713 #5B112C #8F1B45 #C2245E

Accessibility & contrast

On white

13.45
#5B112C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B112C
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B112C#FFFFFF#000000##FFFFFF
##5B112C1.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23252D
Deuteranopia (green-blind)
#36342A
Tritanopia (blue-blind)
#64021D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5b112c;
/* rgb */ color: rgb(91, 17, 44);
/* oklch */ color: oklch(31.8% 0.107 3.9);
Tailwind
colors: {
  custom: {
    50: '#8e5764',
    500: '#5b112c',
    950: '#000000',
  },
}
SCSS
$custom: #5b112c;
$custom-light: #8e5764;
$custom-dark: #000000;
JSON
{
  "hex": "#5b112c",
  "rgb": {
    "r": 91,
    "g": 17,
    "b": 44
  },
  "hsl": {
    "h": 338.108,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31791,
    "c": 0.10742,
    "h": 3.9
  },
  "luminance": 0.02807
}

Semantic roles & 50–950 ramp

primary
#5B112C
secondary
#349471
accent
#EBAC3C
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0305
muted
#7E787A

Preview Lab

Preview with #5B112C

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

Preview Lab → · Contrast checker → · Palette generator →

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