#5B162E#5B162E

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

Color values

HEX#5B162E
RGBrgb(91, 22, 46)
HSLhsl(339, 61%, 22%)
HSVhsv(339, 76%, 36%)
CMYKcmyk(0%, 75.8%, 49.5%, 64.3%)
CIE-LABlab(20.03, 33.23, 2.43)
CIE-LCHlch(20.03, 33.32, 4.18°)
OKLaboklab(32.38% 0.1016 0.0066)
OKLCHoklch(32.38% 0.102 3.7)
XYZxyz(5.0948, 2.9959, 2.8942)
Luminance0.0300 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B162E #165B43
analogous
#5B1651 #5B162E #5B2016
triadic
#5B162E #2E5B16 #162E5B
tetradic
#5B162E #515B16 #165B43 #20165B
square
#5B162E #515B16 #165B43 #20165B
split-complementary
#5B162E #165B20 #16515B
monochromatic
#19060C #2A0A15 #5B162E #8C2247 #BE2E60

Accessibility & contrast

On white

13.13
#5B162E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B162E
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B162E#FFFFFF#000000##FFFFFF
##5B162E1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25282F
Deuteranopia (green-blind)
#38352C
Tritanopia (blue-blind)
#630B20
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5b162e;
/* rgb */ color: rgb(91, 22, 46);
/* oklch */ color: oklch(32.4% 0.102 3.7);
Tailwind
colors: {
  custom: {
    50: '#8d5966',
    500: '#5b162e',
    950: '#000000',
  },
}
SCSS
$custom: #5b162e;
$custom-light: #8d5966;
$custom-dark: #000000;
JSON
{
  "hex": "#5b162e",
  "rgb": {
    "r": 91,
    "g": 22,
    "b": 46
  },
  "hsl": {
    "h": 339.13,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32381,
    "c": 0.10185,
    "h": 3.7
  },
  "luminance": 0.02995
}

Semantic roles & 50–950 ramp

primary
#5B162E
secondary
#3B9274
accent
#E4AC44
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5B162E

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

Preview Lab → · Contrast checker → · Palette generator →

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