#5B162B#5B162B

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

Color values

HEX#5B162B
RGBrgb(91, 22, 43)
HSLhsl(342, 61%, 22%)
HSVhsv(342, 76%, 36%)
CMYKcmyk(0%, 75.8%, 52.7%, 64.3%)
CIE-LABlab(19.94, 32.92, 4.41)
CIE-LCHlch(19.94, 33.22, 7.63°)
OKLaboklab(32.28% 0.1004 0.0115)
OKLCHoklch(32.28% 0.101 6.6)
XYZxyz(5.0378, 2.9730, 2.5936)
Luminance0.0297 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B162B #165B46
analogous
#5B164E #5B162B #5B2416
triadic
#5B162B #2B5B16 #162B5B
tetradic
#5B162B #4E5B16 #165B46 #24165B
square
#5B162B #4E5B16 #165B46 #24165B
split-complementary
#5B162B #165B24 #164E5B
monochromatic
#19060C #2A0A14 #5B162B #8C2242 #BE2E5A

Accessibility & contrast

On white

13.17
#5B162B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#5B162B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B162B
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B162B#FFFFFF#000000##FFFFFF
##5B162B1.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26272B
Deuteranopia (green-blind)
#383529
Tritanopia (blue-blind)
#64091F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5b162b;
/* rgb */ color: rgb(91, 22, 43);
/* oklch */ color: oklch(32.3% 0.101 6.6);
Tailwind
colors: {
  custom: {
    50: '#8e5964',
    500: '#5b162b',
    950: '#000000',
  },
}
SCSS
$custom: #5b162b;
$custom-light: #8e5964;
$custom-dark: #000000;
JSON
{
  "hex": "#5b162b",
  "rgb": {
    "r": 91,
    "g": 22,
    "b": 43
  },
  "hsl": {
    "h": 341.739,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32283,
    "c": 0.10105,
    "h": 6.6
  },
  "luminance": 0.02972
}

Semantic roles & 50–950 ramp

primary
#5B162B
secondary
#3B9278
accent
#E4B344
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5B162B

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

Preview Lab → · Contrast checker → · Palette generator →

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