#5B162D#5B162D

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

Color values

HEX#5B162D
RGBrgb(91, 22, 45)
HSLhsl(340, 61%, 22%)
HSVhsv(340, 76%, 36%)
CMYKcmyk(0%, 75.8%, 50.5%, 64.3%)
CIE-LABlab(20.00, 33.13, 3.09)
CIE-LCHlch(20.00, 33.27, 5.33°)
OKLaboklab(32.35% 0.1012 0.0083)
OKLCHoklch(32.35% 0.102 4.7)
XYZxyz(5.0754, 2.9881, 2.7916)
Luminance0.0299 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B162D #165B44
analogous
#5B1650 #5B162D #5B2216
triadic
#5B162D #2D5B16 #162D5B
tetradic
#5B162D #505B16 #165B44 #22165B
square
#5B162D #505B16 #165B44 #22165B
split-complementary
#5B162D #165B22 #16505B
monochromatic
#19060C #2A0A15 #5B162D #8C2245 #BE2E5E

Accessibility & contrast

On white

13.15
#5B162D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B162D
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B162D#FFFFFF#000000##FFFFFF
##5B162D1.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26282E
Deuteranopia (green-blind)
#38352B
Tritanopia (blue-blind)
#630A1F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5b162d;
/* rgb */ color: rgb(91, 22, 45);
/* oklch */ color: oklch(32.3% 0.102 4.7);
Tailwind
colors: {
  custom: {
    50: '#8d5965',
    500: '#5b162d',
    950: '#000000',
  },
}
SCSS
$custom: #5b162d;
$custom-light: #8d5965;
$custom-dark: #000000;
JSON
{
  "hex": "#5b162d",
  "rgb": {
    "r": 91,
    "g": 22,
    "b": 45
  },
  "hsl": {
    "h": 340,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32348,
    "c": 0.10157,
    "h": 4.7
  },
  "luminance": 0.02987
}

Semantic roles & 50–950 ramp

primary
#5B162D
secondary
#3B9275
accent
#E4AF44
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5B162D

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

Preview Lab → · Contrast checker → · Palette generator →

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