#5C173D#5C173D

#5C173D is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.3% C 0.108 H 350.7°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#5C173D
RGBrgb(92, 23, 61)
HSLhsl(327, 60%, 23%)
HSVhsv(327, 75%, 36%)
CMYKcmyk(0%, 75%, 33.7%, 63.9%)
CIE-LABlab(20.93, 34.96, -6.71)
CIE-LCHlch(20.93, 35.60, 349.14°)
OKLaboklab(33.26% 0.1067 -0.0174)
OKLCHoklch(33.26% 0.108 350.7)
XYZxyz(5.5626, 3.2256, 4.7436)
Luminance0.0323 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C173D #175C36
analogous
#59175C #5C173D #5C171A
triadic
#5C173D #3D5C17 #173D5C
tetradic
#5C173D #5C5917 #175C36 #171A5C
square
#5C173D #5C5917 #175C36 #171A5C
split-complementary
#5C173D #1A5C17 #175C59
monochromatic
#180610 #2B0B1D #5C173D #8D235D #BE2F7E

Accessibility & contrast

On white

12.77
#5C173D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5C173D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C173D
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C173D#FFFFFF#000000##FFFFFF
##5C173D1.0012.771.6512.77
#FFFFFF12.771.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222A3E
Deuteranopia (green-blind)
#35373B
Tritanopia (blue-blind)
#631327
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5c173d;
/* rgb */ color: rgb(92, 23, 61);
/* oklch */ color: oklch(33.3% 0.108 350.7);
Tailwind
colors: {
  custom: {
    50: '#8d5a72',
    500: '#5c173d',
    950: '#000000',
  },
}
SCSS
$custom: #5c173d;
$custom-light: #8d5a72;
$custom-dark: #000000;
JSON
{
  "hex": "#5c173d",
  "rgb": {
    "r": 92,
    "g": 23,
    "b": 61
  },
  "hsl": {
    "h": 326.957,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33259,
    "c": 0.10812,
    "h": 350.7
  },
  "luminance": 0.03225
}

Semantic roles & 50–950 ramp

primary
#5C173D
secondary
#3C9363
accent
#E38C45
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0D0408
muted
#7D797B

Preview Lab

Preview with #5C173D

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

Preview Lab → · Contrast checker → · Palette generator →

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