#5D172F#5D172F

#5D172F is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.9% C 0.103 H 4.0°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#5D172F
RGBrgb(93, 23, 47)
HSLhsl(339, 60%, 23%)
HSVhsv(339, 75%, 36%)
CMYKcmyk(0%, 75.3%, 49.5%, 63.5%)
CIE-LABlab(20.62, 33.59, 2.63)
CIE-LCHlch(20.62, 33.69, 4.47°)
OKLaboklab(32.9% 0.1027 0.0071)
OKLCHoklch(32.9% 0.103 4)
XYZxyz(5.3341, 3.1459, 3.0151)
Luminance0.0314 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D172F #175D45
analogous
#5D1752 #5D172F #5D2217
triadic
#5D172F #2F5D17 #172F5D
tetradic
#5D172F #525D17 #175D45 #22175D
square
#5D172F #525D17 #175D45 #22175D
split-complementary
#5D172F #175D22 #17525D
monochromatic
#19060C #2C0B16 #5D172F #8E2348 #BF2F61

Accessibility & contrast

On white

12.89
#5D172F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5D172F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D172F
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D172F#FFFFFF#000000##FFFFFF
##5D172F1.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272930
Deuteranopia (green-blind)
#39372D
Tritanopia (blue-blind)
#660C21
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5d172f;
/* rgb */ color: rgb(93, 23, 47);
/* oklch */ color: oklch(32.9% 0.103 4.0);
Tailwind
colors: {
  custom: {
    50: '#8f5a67',
    500: '#5d172f',
    950: '#000000',
  },
}
SCSS
$custom: #5d172f;
$custom-light: #8f5a67;
$custom-dark: #000000;
JSON
{
  "hex": "#5d172f",
  "rgb": {
    "r": 93,
    "g": 23,
    "b": 47
  },
  "hsl": {
    "h": 339.429,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32904,
    "c": 0.10295,
    "h": 4
  },
  "luminance": 0.03145
}

Semantic roles & 50–950 ramp

primary
#5D172F
secondary
#3C9476
accent
#E3AD44
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5D172F

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

Preview Lab → · Contrast checker → · Palette generator →

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