#5C173B#5C173B

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

Color values

HEX#5C173B
RGBrgb(92, 23, 59)
HSLhsl(329, 60%, 23%)
HSVhsv(329, 75%, 36%)
CMYKcmyk(0%, 75%, 35.9%, 63.9%)
CIE-LABlab(20.84, 34.70, -5.44)
CIE-LCHlch(20.84, 35.12, 351.08°)
OKLaboklab(33.17% 0.1061 -0.014)
OKLCHoklch(33.17% 0.107 352.5)
XYZxyz(5.5098, 3.2045, 4.4652)
Luminance0.0320 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C173B #175C38
analogous
#5B175C #5C173B #5C1718
triadic
#5C173B #3B5C17 #173B5C
tetradic
#5C173B #5C5B17 #175C38 #17185C
square
#5C173B #5C5B17 #175C38 #17185C
split-complementary
#5C173B #185C17 #175C5B
monochromatic
#180610 #2B0B1C #5C173B #8D235A #BE2F7A

Accessibility & contrast

On white

12.80
#5C173B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C173B
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C173B#FFFFFF#000000##FFFFFF
##5C173B1.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222A3C
Deuteranopia (green-blind)
#363739
Tritanopia (blue-blind)
#631226
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5c173b;
/* rgb */ color: rgb(92, 23, 59);
/* oklch */ color: oklch(33.2% 0.107 352.5);
Tailwind
colors: {
  custom: {
    50: '#8d5a70',
    500: '#5c173b',
    950: '#000000',
  },
}
SCSS
$custom: #5c173b;
$custom-light: #8d5a70;
$custom-dark: #000000;
JSON
{
  "hex": "#5c173b",
  "rgb": {
    "r": 92,
    "g": 23,
    "b": 59
  },
  "hsl": {
    "h": 328.696,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33173,
    "c": 0.107,
    "h": 352.5
  },
  "luminance": 0.03204
}

Semantic roles & 50–950 ramp

primary
#5C173B
secondary
#3C9366
accent
#E39045
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0D0407
muted
#7D797A

Preview Lab

Preview with #5C173B

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

Preview Lab → · Contrast checker → · Palette generator →

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