#5C172A#5C172A

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

Color values

HEX#5C172A
RGBrgb(92, 23, 42)
HSLhsl(343, 60%, 23%)
HSVhsv(343, 75%, 36%)
CMYKcmyk(0%, 75%, 54.3%, 63.9%)
CIE-LABlab(20.27, 32.74, 5.61)
CIE-LCHlch(20.27, 33.22, 9.73°)
OKLaboklab(32.56% 0.0996 0.0145)
OKLCHoklch(32.56% 0.101 8.3)
XYZxyz(5.1384, 3.0560, 2.5093)
Luminance0.0306 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C172A #175C49
analogous
#5C174D #5C172A #5C2617
triadic
#5C172A #2A5C17 #172A5C
tetradic
#5C172A #4D5C17 #175C49 #26175C
square
#5C172A #4D5C17 #175C49 #26175C
split-complementary
#5C172A #175C26 #174D5C
monochromatic
#18060B #2B0B14 #5C172A #8D2340 #BE2F57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C172A#FFFFFF#000000##FFFFFF
##5C172A1.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)
#27282A
Deuteranopia (green-blind)
#393628
Tritanopia (blue-blind)
#650A1F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5c172a;
/* rgb */ color: rgb(92, 23, 42);
/* oklch */ color: oklch(32.6% 0.101 8.3);
Tailwind
colors: {
  custom: {
    50: '#8e5a63',
    500: '#5c172a',
    950: '#000000',
  },
}
SCSS
$custom: #5c172a;
$custom-light: #8e5a63;
$custom-dark: #000000;
JSON
{
  "hex": "#5c172a",
  "rgb": {
    "r": 92,
    "g": 23,
    "b": 42
  },
  "hsl": {
    "h": 343.478,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32557,
    "c": 0.10064,
    "h": 8.3
  },
  "luminance": 0.03055
}

Semantic roles & 50–950 ramp

primary
#5C172A
secondary
#3C937B
accent
#E3B845
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5C172A

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

Preview Lab → · Contrast checker → · Palette generator →

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