#5C162A#5C162A

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

Color values

HEX#5C162A
RGBrgb(92, 22, 42)
HSLhsl(343, 61%, 22%)
HSVhsv(343, 76%, 36%)
CMYKcmyk(0%, 76.1%, 54.3%, 63.9%)
CIE-LABlab(20.11, 33.17, 5.40)
CIE-LCHlch(20.11, 33.60, 9.24°)
OKLaboklab(32.44% 0.101 0.014)
OKLCHoklch(32.44% 0.102 7.9)
XYZxyz(5.1189, 3.0170, 2.5028)
Luminance0.0302 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C162A #165C48
analogous
#5C164D #5C162A #5C2516
triadic
#5C162A #2A5C16 #162A5C
tetradic
#5C162A #4D5C16 #165C48 #25165C
square
#5C162A #4D5C16 #165C48 #25165C
split-complementary
#5C162A #165C25 #164D5C
monochromatic
#19060B #2B0A13 #5C162A #8D2241 #BF2E57

Accessibility & contrast

On white

13.10
#5C162A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C162A
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C162A#FFFFFF#000000##FFFFFF
##5C162A1.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27282A
Deuteranopia (green-blind)
#393628
Tritanopia (blue-blind)
#65081E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5c162a;
/* rgb */ color: rgb(92, 22, 42);
/* oklch */ color: oklch(32.4% 0.102 7.9);
Tailwind
colors: {
  custom: {
    50: '#8f5963',
    500: '#5c162a',
    950: '#000000',
  },
}
SCSS
$custom: #5c162a;
$custom-light: #8f5963;
$custom-dark: #000000;
JSON
{
  "hex": "#5c162a",
  "rgb": {
    "r": 92,
    "g": 22,
    "b": 42
  },
  "hsl": {
    "h": 342.857,
    "s": 61.404,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32442,
    "c": 0.10193,
    "h": 7.9
  },
  "luminance": 0.03016
}

Semantic roles & 50–950 ramp

primary
#5C162A
secondary
#3B937A
accent
#E5B643
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5C162A

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

Preview Lab → · Contrast checker → · Palette generator →

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