#5D173E#5D173E

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

Color values

HEX#5D173E
RGBrgb(93, 23, 62)
HSLhsl(327, 60%, 23%)
HSVhsv(327, 75%, 36%)
CMYKcmyk(0%, 75.3%, 33.3%, 63.5%)
CIE-LABlab(21.16, 35.41, -7.02)
CIE-LCHlch(21.16, 36.10, 348.78°)
OKLaboklab(33.48% 0.1081 -0.0183)
OKLCHoklch(33.48% 0.11 350.4)
XYZxyz(5.6904, 3.2884, 4.8915)
Luminance0.0329 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D173E #175D36
analogous
#59175D #5D173E #5D171B
triadic
#5D173E #3E5D17 #173E5D
tetradic
#5D173E #5D5917 #175D36 #171B5D
square
#5D173E #5D5917 #175D36 #171B5D
split-complementary
#5D173E #1B5D17 #175D59
monochromatic
#190610 #2C0B1D #5D173E #8E235F #BF2F7F

Accessibility & contrast

On white

12.67
#5D173E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D173E
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D173E#FFFFFF#000000##FFFFFF
##5D173E1.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222B3F
Deuteranopia (green-blind)
#36373C
Tritanopia (blue-blind)
#641328
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5d173e;
/* rgb */ color: rgb(93, 23, 62);
/* oklch */ color: oklch(33.5% 0.110 350.4);
Tailwind
colors: {
  custom: {
    50: '#8e5b73',
    500: '#5d173e',
    950: '#000000',
  },
}
SCSS
$custom: #5d173e;
$custom-light: #8e5b73;
$custom-dark: #000000;
JSON
{
  "hex": "#5d173e",
  "rgb": {
    "r": 93,
    "g": 23,
    "b": 62
  },
  "hsl": {
    "h": 326.571,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33484,
    "c": 0.1096,
    "h": 350.4
  },
  "luminance": 0.03288
}

Semantic roles & 50–950 ramp

primary
#5D173E
secondary
#3C9463
accent
#E38B44
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5D173E

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

Preview Lab → · Contrast checker → · Palette generator →

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