#5B1B2D#5B1B2D

#5B1B2D is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.0% C 0.095 H 6.8°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#5B1B2D
RGBrgb(91, 27, 45)
HSLhsl(343, 54%, 23%)
HSVhsv(343, 70%, 36%)
CMYKcmyk(0%, 70.3%, 50.5%, 64.3%)
CIE-LABlab(20.82, 30.87, 4.26)
CIE-LCHlch(20.82, 31.16, 7.87°)
OKLaboklab(32.96% 0.094 0.0112)
OKLCHoklch(32.96% 0.095 6.8)
XYZxyz(5.1804, 3.1981, 2.8266)
Luminance0.0320 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1B2D #1B5B49
analogous
#5B1B4D #5B1B2D #5B291B
triadic
#5B1B2D #2D5B1B #1B2D5B
tetradic
#5B1B2D #4D5B1B #1B5B49 #291B5B
square
#5B1B2D #4D5B1B #1B5B49 #291B5B
split-complementary
#5B1B2D #1B5B29 #1B4D5B
monochromatic
#18070C #2C0D16 #5B1B2D #8A2944 #B9375C

Accessibility & contrast

On white

12.81
#5B1B2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B1B2D
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1B2D#FFFFFF#000000##FFFFFF
##5B1B2D1.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292A2D
Deuteranopia (green-blind)
#3A372B
Tritanopia (blue-blind)
#631222
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5b1b2d;
/* rgb */ color: rgb(91, 27, 45);
/* oklch */ color: oklch(33.0% 0.095 6.8);
Tailwind
colors: {
  custom: {
    50: '#8d5c65',
    500: '#5b1b2d',
    950: '#000000',
  },
}
SCSS
$custom: #5b1b2d;
$custom-light: #8d5c65;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1b2d",
  "rgb": {
    "r": 91,
    "g": 27,
    "b": 45
  },
  "hsl": {
    "h": 343.125,
    "s": 54.237,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32959,
    "c": 0.09468,
    "h": 6.8
  },
  "luminance": 0.03197
}

Semantic roles & 50–950 ramp

primary
#5B1B2D
secondary
#41917A
accent
#DEB44A
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5B1B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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