#5D162A#5D162A

#5D162A is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.6% C 0.103 H 8.2°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#5D162A
RGBrgb(93, 22, 42)
HSLhsl(343, 62%, 23%)
HSVhsv(343, 76%, 36%)
CMYKcmyk(0%, 76.3%, 54.8%, 63.5%)
CIE-LABlab(20.32, 33.51, 5.71)
CIE-LCHlch(20.32, 33.99, 9.68°)
OKLaboklab(32.63% 0.102 0.0147)
OKLCHoklch(32.63% 0.103 8.2)
XYZxyz(5.2195, 3.0688, 2.5075)
Luminance0.0307 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D162A #165D49
analogous
#5D164D #5D162A #5D2616
triadic
#5D162A #2A5D16 #162A5D
tetradic
#5D162A #4D5D16 #165D49 #26165D
square
#5D162A #4D5D16 #165D49 #26165D
split-complementary
#5D162A #165D26 #164D5D
monochromatic
#19060B #2C0A14 #5D162A #8E2240 #C02D57

Accessibility & contrast

On white

13.01
#5D162A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#5D162A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D162A
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D162A#FFFFFF#000000##FFFFFF
##5D162A1.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27282A
Deuteranopia (green-blind)
#3A3628
Tritanopia (blue-blind)
#66081E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5d162a;
/* rgb */ color: rgb(93, 22, 42);
/* oklch */ color: oklch(32.6% 0.103 8.2);
Tailwind
colors: {
  custom: {
    50: '#8f5963',
    500: '#5d162a',
    950: '#000000',
  },
}
SCSS
$custom: #5d162a;
$custom-light: #8f5963;
$custom-dark: #000000;
JSON
{
  "hex": "#5d162a",
  "rgb": {
    "r": 93,
    "g": 22,
    "b": 42
  },
  "hsl": {
    "h": 343.099,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32632,
    "c": 0.10302,
    "h": 8.2
  },
  "luminance": 0.03068
}

Semantic roles & 50–950 ramp

primary
#5D162A
secondary
#3B947B
accent
#E5B743
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5D162A

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

Preview Lab → · Contrast checker → · Palette generator →

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