#5B162C#5B162C

#5B162C is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.3% C 0.101 H 5.6°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#5B162C
RGBrgb(91, 22, 44)
HSLhsl(341, 61%, 22%)
HSVhsv(341, 76%, 36%)
CMYKcmyk(0%, 75.8%, 51.6%, 64.3%)
CIE-LABlab(19.97, 33.02, 3.75)
CIE-LCHlch(19.97, 33.24, 6.48°)
OKLaboklab(32.32% 0.1008 0.0099)
OKLCHoklch(32.32% 0.101 5.6)
XYZxyz(5.0563, 2.9805, 2.6914)
Luminance0.0298 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B162C #165B45
analogous
#5B164F #5B162C #5B2316
triadic
#5B162C #2C5B16 #162C5B
tetradic
#5B162C #4F5B16 #165B45 #23165B
square
#5B162C #4F5B16 #165B45 #23165B
split-complementary
#5B162C #165B23 #164F5B
monochromatic
#19060C #2A0A14 #5B162C #8C2244 #BE2E5C

Accessibility & contrast

On white

13.16
#5B162C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5B162C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B162C
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B162C#FFFFFF#000000##FFFFFF
##5B162C1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26282C
Deuteranopia (green-blind)
#38352A
Tritanopia (blue-blind)
#640A1F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5b162c;
/* rgb */ color: rgb(91, 22, 44);
/* oklch */ color: oklch(32.3% 0.101 5.6);
Tailwind
colors: {
  custom: {
    50: '#8e5964',
    500: '#5b162c',
    950: '#000000',
  },
}
SCSS
$custom: #5b162c;
$custom-light: #8e5964;
$custom-dark: #000000;
JSON
{
  "hex": "#5b162c",
  "rgb": {
    "r": 91,
    "g": 22,
    "b": 44
  },
  "hsl": {
    "h": 340.87,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32315,
    "c": 0.1013,
    "h": 5.6
  },
  "luminance": 0.0298
}

Semantic roles & 50–950 ramp

primary
#5B162C
secondary
#3B9276
accent
#E4B144
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5B162C

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

Preview Lab → · Contrast checker → · Palette generator →

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