#5D162B#5D162B

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

Color values

HEX#5D162B
RGBrgb(93, 22, 43)
HSLhsl(342, 62%, 23%)
HSVhsv(342, 76%, 36%)
CMYKcmyk(0%, 76.3%, 53.8%, 63.5%)
CIE-LABlab(20.35, 33.60, 5.05)
CIE-LCHlch(20.35, 33.98, 8.55°)
OKLaboklab(32.66% 0.1024 0.0131)
OKLCHoklch(32.66% 0.103 7.3)
XYZxyz(5.2376, 3.0761, 2.6030)
Luminance0.0307 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D162B #165D48
analogous
#5D164E #5D162B #5D2516
triadic
#5D162B #2B5D16 #162B5D
tetradic
#5D162B #4E5D16 #165D48 #25165D
square
#5D162B #4E5D16 #165D48 #25165D
split-complementary
#5D162B #165D25 #164E5D
monochromatic
#19060B #2C0A14 #5D162B #8E2242 #C02D59

Accessibility & contrast

On white

13.00
#5D162B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D162B
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D162B#FFFFFF#000000##FFFFFF
##5D162B1.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27282B
Deuteranopia (green-blind)
#393629
Tritanopia (blue-blind)
#66081F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5d162b;
/* rgb */ color: rgb(93, 22, 43);
/* oklch */ color: oklch(32.7% 0.103 7.3);
Tailwind
colors: {
  custom: {
    50: '#8f5a64',
    500: '#5d162b',
    950: '#000000',
  },
}
SCSS
$custom: #5d162b;
$custom-light: #8f5a64;
$custom-dark: #000000;
JSON
{
  "hex": "#5d162b",
  "rgb": {
    "r": 93,
    "g": 22,
    "b": 43
  },
  "hsl": {
    "h": 342.254,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32663,
    "c": 0.10322,
    "h": 7.3
  },
  "luminance": 0.03075
}

Semantic roles & 50–950 ramp

primary
#5D162B
secondary
#3B947A
accent
#E5B543
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5D162B

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

Preview Lab → · Contrast checker → · Palette generator →

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