#5C162B#5C162B

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

Color values

HEX#5C162B
RGBrgb(92, 22, 43)
HSLhsl(342, 61%, 22%)
HSVhsv(342, 76%, 36%)
CMYKcmyk(0%, 76.1%, 53.3%, 63.9%)
CIE-LABlab(20.14, 33.26, 4.73)
CIE-LCHlch(20.14, 33.60, 8.09°)
OKLaboklab(32.47% 0.1014 0.0123)
OKLCHoklch(32.47% 0.102 6.9)
XYZxyz(5.1370, 3.0242, 2.5983)
Luminance0.0302 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C162B #165C47
analogous
#5C164E #5C162B #5C2416
triadic
#5C162B #2B5C16 #162B5C
tetradic
#5C162B #4E5C16 #165C47 #24165C
square
#5C162B #4E5C16 #165C47 #24165C
split-complementary
#5C162B #165C24 #164E5C
monochromatic
#19060C #2B0A14 #5C162B #8D2242 #BF2E59

Accessibility & contrast

On white

13.09
#5C162B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C162B
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C162B#FFFFFF#000000##FFFFFF
##5C162B1.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c162b;
/* rgb */ color: rgb(92, 22, 43);
/* oklch */ color: oklch(32.5% 0.102 6.9);
Tailwind
colors: {
  custom: {
    50: '#8e5964',
    500: '#5c162b',
    950: '#000000',
  },
}
SCSS
$custom: #5c162b;
$custom-light: #8e5964;
$custom-dark: #000000;
JSON
{
  "hex": "#5c162b",
  "rgb": {
    "r": 92,
    "g": 22,
    "b": 43
  },
  "hsl": {
    "h": 342,
    "s": 61.404,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32473,
    "c": 0.10214,
    "h": 6.9
  },
  "luminance": 0.03024
}

Semantic roles & 50–950 ramp

primary
#5C162B
secondary
#3B9379
accent
#E5B443
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5C162B

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

Preview Lab → · Contrast checker → · Palette generator →

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