#5B112F#5B112F

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

Color values

HEX#5B112F
RGBrgb(91, 17, 47)
HSLhsl(336, 69%, 21%)
HSVhsv(336, 81%, 36%)
CMYKcmyk(0%, 81.3%, 48.4%, 64.3%)
CIE-LABlab(19.35, 35.31, 0.75)
CIE-LCHlch(19.35, 35.32, 1.21°)
OKLaboklab(31.9% 0.1084 0.0023)
OKLCHoklch(31.9% 0.108 1.2)
XYZxyz(5.0283, 2.8309, 2.9704)
Luminance0.0283 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B112F #115B3D
analogous
#5B1154 #5B112F #5B1811
triadic
#5B112F #2F5B11 #112F5B
tetradic
#5B112F #545B11 #115B3D #18115B
square
#5B112F #545B11 #115B3D #18115B
split-complementary
#5B112F #115B18 #11545B
monochromatic
#1A050D #270714 #5B112F #8F1B4A #C22464

Accessibility & contrast

On white

13.41
#5B112F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#5B112F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B112F
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B112F#FFFFFF#000000##FFFFFF
##5B112F1.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222630
Deuteranopia (green-blind)
#36342D
Tritanopia (blue-blind)
#63041E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5b112f;
/* rgb */ color: rgb(91, 17, 47);
/* oklch */ color: oklch(31.9% 0.108 1.2);
Tailwind
colors: {
  custom: {
    50: '#8e5767',
    500: '#5b112f',
    950: '#000000',
  },
}
SCSS
$custom: #5b112f;
$custom-light: #8e5767;
$custom-dark: #000000;
JSON
{
  "hex": "#5b112f",
  "rgb": {
    "r": 91,
    "g": 17,
    "b": 47
  },
  "hsl": {
    "h": 335.676,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31895,
    "c": 0.10838,
    "h": 1.2
  },
  "luminance": 0.0283
}

Semantic roles & 50–950 ramp

primary
#5B112F
secondary
#34946D
accent
#EBA43C
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0306
muted
#7E787A

Preview Lab

Preview with #5B112F

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

Preview Lab → · Contrast checker → · Palette generator →

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