#5C162F#5C162F

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

Color values

HEX#5C162F
RGBrgb(92, 22, 47)
HSLhsl(339, 61%, 22%)
HSVhsv(339, 76%, 36%)
CMYKcmyk(0%, 76.1%, 48.9%, 63.9%)
CIE-LABlab(20.26, 33.68, 2.09)
CIE-LCHlch(20.26, 33.74, 3.55°)
OKLaboklab(32.6% 0.1031 0.0057)
OKLCHoklch(32.6% 0.103 3.2)
XYZxyz(5.2140, 3.0550, 3.0039)
Luminance0.0305 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C162F #165C43
analogous
#5C1652 #5C162F #5C2016
triadic
#5C162F #2F5C16 #162F5C
tetradic
#5C162F #525C16 #165C43 #20165C
square
#5C162F #525C16 #165C43 #20165C
split-complementary
#5C162F #165C20 #16525C
monochromatic
#19060D #2B0A16 #5C162F #8D2248 #BF2E61

Accessibility & contrast

On white

13.04
#5C162F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C162F
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C162F#FFFFFF#000000##FFFFFF
##5C162F1.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252830
Deuteranopia (green-blind)
#38362D
Tritanopia (blue-blind)
#640B20
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5c162f;
/* rgb */ color: rgb(92, 22, 47);
/* oklch */ color: oklch(32.6% 0.103 3.2);
Tailwind
colors: {
  custom: {
    50: '#8e5967',
    500: '#5c162f',
    950: '#000000',
  },
}
SCSS
$custom: #5c162f;
$custom-light: #8e5967;
$custom-dark: #000000;
JSON
{
  "hex": "#5c162f",
  "rgb": {
    "r": 92,
    "g": 22,
    "b": 47
  },
  "hsl": {
    "h": 338.571,
    "s": 61.404,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32603,
    "c": 0.10321,
    "h": 3.2
  },
  "luminance": 0.03054
}

Semantic roles & 50–950 ramp

primary
#5C162F
secondary
#3B9374
accent
#E5AB43
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5C162F

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

Preview Lab → · Contrast checker → · Palette generator →

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