#5D162C#5D162C

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

Color values

HEX#5D162C
RGBrgb(93, 22, 44)
HSLhsl(341, 62%, 23%)
HSVhsv(341, 76%, 36%)
CMYKcmyk(0%, 76.3%, 52.7%, 63.5%)
CIE-LABlab(20.38, 33.70, 4.39)
CIE-LCHlch(20.38, 33.99, 7.42°)
OKLaboklab(32.69% 0.1028 0.0115)
OKLCHoklch(32.69% 0.103 6.4)
XYZxyz(5.2562, 3.0835, 2.7008)
Luminance0.0308 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D162C #165D47
analogous
#5D1650 #5D162C #5D2316
triadic
#5D162C #2C5D16 #162C5D
tetradic
#5D162C #505D16 #165D47 #23165D
square
#5D162C #505D16 #165D47 #23165D
split-complementary
#5D162C #165D23 #16505D
monochromatic
#19060C #2C0A15 #5D162C #8E2243 #C02D5B

Accessibility & contrast

On white

12.99
#5D162C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D162C
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D162C#FFFFFF#000000##FFFFFF
##5D162C1.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27282C
Deuteranopia (green-blind)
#39362A
Tritanopia (blue-blind)
#66091F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5d162c;
/* rgb */ color: rgb(93, 22, 44);
/* oklch */ color: oklch(32.7% 0.103 6.4);
Tailwind
colors: {
  custom: {
    50: '#8f5a64',
    500: '#5d162c',
    950: '#000000',
  },
}
SCSS
$custom: #5d162c;
$custom-light: #8f5a64;
$custom-dark: #000000;
JSON
{
  "hex": "#5d162c",
  "rgb": {
    "r": 93,
    "g": 22,
    "b": 44
  },
  "hsl": {
    "h": 341.408,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32694,
    "c": 0.10345,
    "h": 6.4
  },
  "luminance": 0.03083
}

Semantic roles & 50–950 ramp

primary
#5D162C
secondary
#3B9478
accent
#E5B343
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5D162C

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

Preview Lab → · Contrast checker → · Palette generator →

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