#5D173F#5D173F

#5D173F is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.5% C 0.110 H 349.5°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#5D173F
RGBrgb(93, 23, 63)
HSLhsl(326, 60%, 23%)
HSVhsv(326, 75%, 36%)
CMYKcmyk(0%, 75.3%, 32.3%, 63.5%)
CIE-LABlab(21.21, 35.55, -7.65)
CIE-LCHlch(21.21, 36.36, 347.85°)
OKLaboklab(33.53% 0.1084 -0.02)
OKLCHoklch(33.53% 0.11 349.5)
XYZxyz(5.7181, 3.2995, 5.0374)
Luminance0.0330 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D173F #175D35
analogous
#58175D #5D173F #5D171C
triadic
#5D173F #3F5D17 #173F5D
tetradic
#5D173F #5D5817 #175D35 #171C5D
square
#5D173F #5D5817 #175D35 #171C5D
split-complementary
#5D173F #1C5D17 #175D58
monochromatic
#190611 #2C0B1E #5D173F #8E2360 #BF2F81

Accessibility & contrast

On white

12.65
#5D173F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#5D173F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D173F
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D173F#FFFFFF#000000##FFFFFF
##5D173F1.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212B40
Deuteranopia (green-blind)
#36373D
Tritanopia (blue-blind)
#641328
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5d173f;
/* rgb */ color: rgb(93, 23, 63);
/* oklch */ color: oklch(33.5% 0.110 349.5);
Tailwind
colors: {
  custom: {
    50: '#8e5b74',
    500: '#5d173f',
    950: '#000000',
  },
}
SCSS
$custom: #5d173f;
$custom-light: #8e5b74;
$custom-dark: #000000;
JSON
{
  "hex": "#5d173f",
  "rgb": {
    "r": 93,
    "g": 23,
    "b": 63
  },
  "hsl": {
    "h": 325.714,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33528,
    "c": 0.11018,
    "h": 349.5
  },
  "luminance": 0.03299
}

Semantic roles & 50–950 ramp

primary
#5D173F
secondary
#3C9462
accent
#E38944
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5D173F

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

Preview Lab → · Contrast checker → · Palette generator →

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