#5D162D#5D162D

#5D162D is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.7% C 0.104 H 5.5°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#5D162D
RGBrgb(93, 22, 45)
HSLhsl(341, 62%, 23%)
HSVhsv(341, 76%, 36%)
CMYKcmyk(0%, 76.3%, 51.6%, 63.5%)
CIE-LABlab(20.41, 33.80, 3.73)
CIE-LCHlch(20.41, 34.01, 6.29°)
OKLaboklab(32.73% 0.1032 0.0099)
OKLCHoklch(32.73% 0.104 5.5)
XYZxyz(5.2752, 3.0911, 2.8010)
Luminance0.0309 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D162D #165D46
analogous
#5D1651 #5D162D #5D2216
triadic
#5D162D #2D5D16 #162D5D
tetradic
#5D162D #515D16 #165D46 #22165D
square
#5D162D #515D16 #165D46 #22165D
split-complementary
#5D162D #165D22 #16515D
monochromatic
#19060C #2C0A15 #5D162D #8E2245 #C02D5D

Accessibility & contrast

On white

12.98
#5D162D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5D162D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D162D
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D162D#FFFFFF#000000##FFFFFF
##5D162D1.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26282E
Deuteranopia (green-blind)
#39362B
Tritanopia (blue-blind)
#66091F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5d162d;
/* rgb */ color: rgb(93, 22, 45);
/* oklch */ color: oklch(32.7% 0.104 5.5);
Tailwind
colors: {
  custom: {
    50: '#8f5a65',
    500: '#5d162d',
    950: '#000000',
  },
}
SCSS
$custom: #5d162d;
$custom-light: #8f5a65;
$custom-dark: #000000;
JSON
{
  "hex": "#5d162d",
  "rgb": {
    "r": 93,
    "g": 22,
    "b": 45
  },
  "hsl": {
    "h": 340.563,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32726,
    "c": 0.1037,
    "h": 5.5
  },
  "luminance": 0.0309
}

Semantic roles & 50–950 ramp

primary
#5D162D
secondary
#3B9477
accent
#E5B043
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5D162D

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

Preview Lab → · Contrast checker → · Palette generator →

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