#5D173A#5D173A

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

Color values

HEX#5D173A
RGBrgb(93, 23, 58)
HSLhsl(330, 60%, 23%)
HSVhsv(330, 75%, 36%)
CMYKcmyk(0%, 75.3%, 37.6%, 63.5%)
CIE-LABlab(21.00, 34.88, -4.49)
CIE-LCHlch(21.00, 35.17, 352.66°)
OKLaboklab(33.31% 0.1068 -0.0114)
OKLCHoklch(33.31% 0.107 353.9)
XYZxyz(5.5847, 3.2461, 4.3346)
Luminance0.0324 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D173A #175D3A
analogous
#5D175D #5D173A #5D1717
triadic
#5D173A #3A5D17 #173A5D
tetradic
#5D173A #5D5D17 #175D3A #17175D
square
#5D173A #5D5D17 #175D3A #17175D
split-complementary
#5D173A #175D17 #175D5D
monochromatic
#19060F #2C0B1B #5D173A #8E2359 #BF2F77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D173A#FFFFFF#000000##FFFFFF
##5D173A1.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)
#232A3B
Deuteranopia (green-blind)
#373738
Tritanopia (blue-blind)
#651126
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5d173a;
/* rgb */ color: rgb(93, 23, 58);
/* oklch */ color: oklch(33.3% 0.107 353.9);
Tailwind
colors: {
  custom: {
    50: '#8e5a70',
    500: '#5d173a',
    950: '#000000',
  },
}
SCSS
$custom: #5d173a;
$custom-light: #8e5a70;
$custom-dark: #000000;
JSON
{
  "hex": "#5d173a",
  "rgb": {
    "r": 93,
    "g": 23,
    "b": 58
  },
  "hsl": {
    "h": 330,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33314,
    "c": 0.10741,
    "h": 353.9
  },
  "luminance": 0.03245
}

Semantic roles & 50–950 ramp

primary
#5D173A
secondary
#3C9468
accent
#E39444
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5D173A

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

Preview Lab → · Contrast checker → · Palette generator →

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