#5C173F#5C173F

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

Color values

HEX#5C173F
RGBrgb(92, 23, 63)
HSLhsl(325, 60%, 23%)
HSVhsv(325, 75%, 36%)
CMYKcmyk(0%, 75%, 31.5%, 63.9%)
CIE-LABlab(21.01, 35.24, -7.97)
CIE-LCHlch(21.01, 36.13, 347.26°)
OKLaboklab(33.35% 0.1073 -0.0209)
OKLCHoklch(33.35% 0.109 349)
XYZxyz(5.6175, 3.2476, 5.0327)
Luminance0.0325 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C173F #175C34
analogous
#56175C #5C173F #5C171D
triadic
#5C173F #3F5C17 #173F5C
tetradic
#5C173F #5C5617 #175C34 #171D5C
square
#5C173F #5C5617 #175C34 #171D5C
split-complementary
#5C173F #1D5C17 #175C56
monochromatic
#180611 #2B0B1D #5C173F #8D2361 #BE2F82

Accessibility & contrast

On white

12.73
#5C173F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C173F
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C173F#FFFFFF#000000##FFFFFF
##5C173F1.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212B40
Deuteranopia (green-blind)
#35373D
Tritanopia (blue-blind)
#631428
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5c173f;
/* rgb */ color: rgb(92, 23, 63);
/* oklch */ color: oklch(33.3% 0.109 349.0);
Tailwind
colors: {
  custom: {
    50: '#8d5b74',
    500: '#5c173f',
    950: '#000000',
  },
}
SCSS
$custom: #5c173f;
$custom-light: #8d5b74;
$custom-dark: #000000;
JSON
{
  "hex": "#5c173f",
  "rgb": {
    "r": 92,
    "g": 23,
    "b": 63
  },
  "hsl": {
    "h": 325.217,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33348,
    "c": 0.1093,
    "h": 349
  },
  "luminance": 0.03247
}

Semantic roles & 50–950 ramp

primary
#5C173F
secondary
#3C9360
accent
#E38745
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0D0408
muted
#7D797B

Preview Lab

Preview with #5C173F

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

Preview Lab → · Contrast checker → · Palette generator →

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