#5D173C#5D173C

#5D173C is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.4% C 0.108 H 352.1°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#5D173C
RGBrgb(93, 23, 60)
HSLhsl(328, 60%, 23%)
HSVhsv(328, 75%, 36%)
CMYKcmyk(0%, 75.3%, 35.5%, 63.5%)
CIE-LABlab(21.08, 35.14, -5.76)
CIE-LCHlch(21.08, 35.61, 350.69°)
OKLaboklab(33.4% 0.1074 -0.0148)
OKLCHoklch(33.4% 0.108 352.1)
XYZxyz(5.6365, 3.2668, 4.6078)
Luminance0.0327 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D173C #175D38
analogous
#5B175D #5D173C #5D1719
triadic
#5D173C #3C5D17 #173C5D
tetradic
#5D173C #5D5B17 #175D38 #17195D
square
#5D173C #5D5B17 #175D38 #17195D
split-complementary
#5D173C #195D17 #175D5B
monochromatic
#190610 #2C0B1C #5D173C #8E235C #BF2F7B

Accessibility & contrast

On white

12.70
#5D173C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D173C
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D173C#FFFFFF#000000##FFFFFF
##5D173C1.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232B3D
Deuteranopia (green-blind)
#36373A
Tritanopia (blue-blind)
#641227
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5d173c;
/* rgb */ color: rgb(93, 23, 60);
/* oklch */ color: oklch(33.4% 0.108 352.1);
Tailwind
colors: {
  custom: {
    50: '#8e5b71',
    500: '#5d173c',
    950: '#000000',
  },
}
SCSS
$custom: #5d173c;
$custom-light: #8e5b71;
$custom-dark: #000000;
JSON
{
  "hex": "#5d173c",
  "rgb": {
    "r": 93,
    "g": 23,
    "b": 60
  },
  "hsl": {
    "h": 328.286,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33397,
    "c": 0.10846,
    "h": 352.1
  },
  "luminance": 0.03266
}

Semantic roles & 50–950 ramp

primary
#5D173C
secondary
#3C9465
accent
#E38F44
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5D173C

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

Preview Lab → · Contrast checker → · Palette generator →

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