#5C173C#5C173C

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

Color values

HEX#5C173C
RGBrgb(92, 23, 60)
HSLhsl(328, 60%, 23%)
HSVhsv(328, 75%, 36%)
CMYKcmyk(0%, 75%, 34.8%, 63.9%)
CIE-LABlab(20.89, 34.83, -6.08)
CIE-LCHlch(20.89, 35.35, 350.10°)
OKLaboklab(33.22% 0.1064 -0.0157)
OKLCHoklch(33.22% 0.108 351.6)
XYZxyz(5.5359, 3.2150, 4.6031)
Luminance0.0321 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C173C #175C37
analogous
#59175C #5C173C #5C171A
triadic
#5C173C #3C5C17 #173C5C
tetradic
#5C173C #5C5917 #175C37 #171A5C
square
#5C173C #5C5917 #175C37 #171A5C
split-complementary
#5C173C #1A5C17 #175C59
monochromatic
#180610 #2B0B1C #5C173C #8D235C #BE2F7C

Accessibility & contrast

On white

12.78
#5C173C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5C173C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C173C
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C173C#FFFFFF#000000##FFFFFF
##5C173C1.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222A3D
Deuteranopia (green-blind)
#36373A
Tritanopia (blue-blind)
#631227
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5c173c;
/* rgb */ color: rgb(92, 23, 60);
/* oklch */ color: oklch(33.2% 0.108 351.6);
Tailwind
colors: {
  custom: {
    50: '#8d5a71',
    500: '#5c173c',
    950: '#000000',
  },
}
SCSS
$custom: #5c173c;
$custom-light: #8d5a71;
$custom-dark: #000000;
JSON
{
  "hex": "#5c173c",
  "rgb": {
    "r": 92,
    "g": 23,
    "b": 60
  },
  "hsl": {
    "h": 327.826,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33216,
    "c": 0.10756,
    "h": 351.6
  },
  "luminance": 0.03214
}

Semantic roles & 50–950 ramp

primary
#5C173C
secondary
#3C9364
accent
#E38E45
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0D0407
muted
#7D797A

Preview Lab

Preview with #5C173C

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

Preview Lab → · Contrast checker → · Palette generator →

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