#5C173A#5C173A

#5C173A is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.1% C 0.106 H 353.4°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#5C173A
RGBrgb(92, 23, 58)
HSLhsl(330, 60%, 23%)
HSVhsv(330, 75%, 36%)
CMYKcmyk(0%, 75%, 37%, 63.9%)
CIE-LABlab(20.81, 34.56, -4.81)
CIE-LCHlch(20.81, 34.90, 352.08°)
OKLaboklab(33.13% 0.1058 -0.0123)
OKLCHoklch(33.13% 0.106 353.4)
XYZxyz(5.4841, 3.1942, 4.3299)
Luminance0.0319 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C173A #175C39
analogous
#5B175C #5C173A #5C1718
triadic
#5C173A #3A5C17 #173A5C
tetradic
#5C173A #5C5B17 #175C39 #17185C
square
#5C173A #5C5B17 #175C39 #17185C
split-complementary
#5C173A #185C17 #175C5B
monochromatic
#18060F #2B0B1B #5C173A #8D2359 #BE2F78

Accessibility & contrast

On white

12.81
#5C173A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C173A
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C173A#FFFFFF#000000##FFFFFF
##5C173A1.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232A3B
Deuteranopia (green-blind)
#363738
Tritanopia (blue-blind)
#641226
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5c173a;
/* rgb */ color: rgb(92, 23, 58);
/* oklch */ color: oklch(33.1% 0.106 353.4);
Tailwind
colors: {
  custom: {
    50: '#8d5a70',
    500: '#5c173a',
    950: '#000000',
  },
}
SCSS
$custom: #5c173a;
$custom-light: #8d5a70;
$custom-dark: #000000;
JSON
{
  "hex": "#5c173a",
  "rgb": {
    "r": 92,
    "g": 23,
    "b": 58
  },
  "hsl": {
    "h": 329.565,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33131,
    "c": 0.10647,
    "h": 353.4
  },
  "luminance": 0.03194
}

Semantic roles & 50–950 ramp

primary
#5C173A
secondary
#3C9367
accent
#E39345
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5C173A

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

Preview Lab → · Contrast checker → · Palette generator →

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